-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8013a1d
commit 6c5c2b2
Showing
15 changed files
with
422 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
// | ||
// omnis.xcconfig | ||
// build_all | ||
// | ||
// Copyright © 2023 Omnis Software Ltd. All rights reserved. | ||
// | ||
|
||
// Configuration settings file format documentation can be found at: | ||
// https://help.apple.com/xcode/#/dev745c5c974 | ||
|
||
XCOMP_BUNDLE_IDENTIFIER = omnis.xcomp.bgwidgets | ||
XCOMP_PRODUCT_NAME = bgwidgets | ||
|
||
OMNIS_SDK_ROOT = macosx | ||
OMNIS_DEPLOYMENT_TARGET = 10.14 | ||
OMNIS_BUILD_ROOT = $(SRCROOT)/build | ||
CPP_LANG_DIALECT = c++17 | ||
CPP_STD_LIBRARY = libc++ | ||
|
||
MACOSX_DEPLOYMENT_TARGET = $OMNIS_DEPLOYMENT_TARGET | ||
OMNIS_ACTIVE_ARCH_ONLY[config=Deployment] = NO | ||
OMNIS_ACTIVE_ARCH_ONLY[config=Development] = YES | ||
ONLY_ACTIVE_ARCH = $OMNIS_ACTIVE_ARCH_ONLY | ||
ARCHS = $(ARCHS_STANDARD) | ||
DEPLOYMENT_LOCATION = YES | ||
SKIP_INSTALL = NO | ||
INSTALL_ROOT = / | ||
INSTALL_PATH = / | ||
ALWAYS_SEARCH_USER_PATHS = NO | ||
CODE_SIGN_INJECT_BASE_ENTITLEMENTS = NO | ||
CODE_SIGN_STYLE = Manual | ||
|
||
OMNIS_CODE_SIGNING_IDENTITY[config=Deployment] = - | ||
OMNIS_CODE_SIGNING_IDENTITY[config=Development] = - | ||
|
||
OMNIS_CONFIG[config=Deployment] = Release | ||
OMNIS_CONFIG[config=Development] = Debug | ||
|
||
OMNIS_FILES_ROOT = $OMNIS_BUILD_ROOT/$OMNIS_CONFIG | ||
|
||
COMPLIB_DIR[config=Deployment] = $(SRCROOT)/thirdparty/omnis.sdk/mac/complib | ||
COMPLIB_DIR[config=Development] = $(SRCROOT)/thirdparty/omnis.sdk/mac/complib_debug | ||
|
||
OMNISRC_DIR = $(SRCROOT)/thirdparty/omnis.sdk/mac/tools | ||
|
||
DWARF_DSYM_FOLDER_PATH_PREFIX = $(OMNIS_BUILD_ROOT)/DebugSymbols | ||
|
||
// jscomp | ||
OMNIS_JSCOMP_DIR = jscomp | ||
OMNIS_JSCOMP_INSTALL_DIR = $OMNIS_FILES_ROOT/$OMNIS_JSCOMP_DIR | ||
OMNIS_JSCOMP_PREFIX_PATH = $COMPLIB_DIR/complib.framework/Versions/A/Headers/carbnuni.h | ||
|
||
// xcomp | ||
OMNIS_XCOMP_DIR = xcomp | ||
OMNIS_XCOMP_INSTALL_DIR = $OMNIS_FILES_ROOT/$OMNIS_XCOMP_DIR | ||
OMNIS_XCOMP_HEADER_PATHS = $COMPLIB_DIR/complib.framework/Headers | ||
OMNIS_XCOMP_REZ_PATHS = $COMPLIB_DIR/complib.framework/Versions/A/Resources | ||
OMNIS_XCOMP_PREFIX_PATH = $COMPLIB_DIR/complib.framework/Versions/A/Headers/carbnuni.h | ||
OMNIS_XCOMP_FRAMEWORK_PATH = $COMPLIB_DIR/ | ||
|
||
OMNIS_C_FLAGS = "-DOMNISSDK=110" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#define TESTVER 0 | ||
#define _DEBUG | ||
|
||
#define mach_o_unicode | ||
#define isunicode | ||
#define UNICODE | ||
#define _UNICODE | ||
|
||
#include "carbnuni.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#define TESTVER 0 | ||
|
||
#define mach_o_unicode | ||
#define isunicode | ||
#define UNICODE | ||
#define _UNICODE | ||
|
||
#include "carbnuni.h" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ImportGroup Label="PropertySheets" /> | ||
<PropertyGroup Label="UserMacros"> | ||
<OMNIS_BUILD_ROOT>build\$(Configuration)_$(PlatformShortName)</OMNIS_BUILD_ROOT> | ||
<OMNIS_INTBUILD_DIR>intbuild</OMNIS_INTBUILD_DIR> | ||
<DEBUGSYMBOLS_LOCATION>$(OMNIS_INTBUILD_DIR)\debugsymbols_$(PlatformShortName)</DEBUGSYMBOLS_LOCATION> | ||
<SDK_LOCATION>thirdparty\omnis.sdk\win</SDK_LOCATION> | ||
<CONFIG>$(Configuration)</CONFIG> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<OutDir>$(OMNIS_BUILD_ROOT)\</OutDir> | ||
<IntDir>$(OMNIS_INTBUILD_DIR)\$(ProjectName)\$(Configuration)_$(PlatformShortName)\</IntDir> | ||
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup> | ||
<ClCompile> | ||
<WarningLevel>Level3</WarningLevel> | ||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType> | ||
<StructMemberAlignment>$(BYTE_PACKING)</StructMemberAlignment> | ||
<LanguageStandard>stdcpp17</LanguageStandard> | ||
</ClCompile> | ||
<Link> | ||
<IgnoreSpecificDefaultLibraries>libc.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<ProgramDatabaseFile Condition="'$(Configuration.Contains(`Release`))' == 'true'">$(DEBUGSYMBOLS_LOCATION)\$(TargetName).pdb</ProgramDatabaseFile> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<BuildMacro Include="OMNIS_BUILD_ROOT"> | ||
<Value>$(OMNIS_BUILD_ROOT)</Value> | ||
<EnvironmentVariable>true</EnvironmentVariable> | ||
</BuildMacro> | ||
<BuildMacro Include="OMNIS_INTBUILD_DIR"> | ||
<Value>$(OMNIS_INTBUILD_DIR)</Value> | ||
<EnvironmentVariable>true</EnvironmentVariable> | ||
</BuildMacro> | ||
<BuildMacro Include="DEBUGSYMBOLS_LOCATION"> | ||
<Value>$(DEBUGSYMBOLS_LOCATION)</Value> | ||
<EnvironmentVariable>true</EnvironmentVariable> | ||
</BuildMacro> | ||
<BuildMacro Include="SDK_LOCATION"> | ||
<Value>$(SDK_LOCATION)</Value> | ||
<EnvironmentVariable>true</EnvironmentVariable> | ||
</BuildMacro> | ||
<BuildMacro Include="CONFIG"> | ||
<Value>$(CONFIG)</Value> | ||
<EnvironmentVariable>true</EnvironmentVariable> | ||
</BuildMacro> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ImportGroup Label="PropertySheets" /> | ||
<PropertyGroup> | ||
<OutDir>$(OMNIS_BUILD_ROOT)\xcomp\</OutDir> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>source\shared;source;..\source;..\source\shared;$(SDK_LOCATION)\include;thirdparty\omnis.xcomp.framework;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType> | ||
<MultiProcessorCompilation>true</MultiProcessorCompilation> | ||
</ClCompile> | ||
<Link> | ||
<AdditionalLibraryDirectories>$(SDK_LOCATION)\libs\$(Configuration)_$(PlatformShortName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
<AdditionalDependencies>complib.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<ModuleDefinitionFile>$(TargetName).def</ModuleDefinitionFile> | ||
<ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary> | ||
<IgnoreSpecificDefaultLibraries>libc.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> | ||
<ProgramDatabaseFile Condition="'$(Configuration.Contains(`Release`))' == 'true'">$(DEBUGSYMBOLS_LOCATION)\xcomp\$(TargetName).pdb</ProgramDatabaseFile> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
</Project> |