-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Was tired of changing settings across the projects, so it's time. Also x64 needs settings that then cause the arm64 to log warnings. For some reason Xcode UI keeps copying the kram.config file when set on GLTF or GLTFMTL instead of referencing the common one in build2. So I had to symlink to those.
- Loading branch information
Showing
9 changed files
with
65 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// kram - Copyright 2020-2024 by Alec Miller. - MIT License | ||
// The license and copyright notice shall be included | ||
// in all copies or substantial portions of the Software. | ||
|
||
// Xcode's AVX2 simd setting doesn't set -mfma or -m16c. So | ||
// then universal builds throw hundreds of warnings. Ugh. | ||
// Xcode doesn't set NDEBUG=1 in Release builds. Ugh. | ||
// Also turn on -ftime-trace to review build times in kram-profile. | ||
|
||
KRAM_FLAGS_X64 = | ||
KRAM_FLAGS_X64[arch=x86_64] = -mf16c -mfma | ||
|
||
KRAM_FLAGS_REL = | ||
KRAM_FLAGS_REL[config=Release] = -NDEBUG=1 | ||
|
||
KRAM_FLAGS = -ftime-trace -DUSE_SIMDLIB=1 | ||
|
||
// This is killing build times in Xcode16 | ||
ENABLE_MODULE_VERIFIER = NO | ||
|
||
// EASTL, etc. | ||
|
||
// configuring all the encoders in kram | ||
// -DCOMPILE_ASTCENC=1 -DCOMPILE_ATE=1 -DCOMPILE_ETCENC=1 -DCOMPILE_SQUISH=1 -DCOMPILE_BCENC=1 -DCOMPILE_COMP=1 -DCOMPILE_BASIS=0 -DCOMPILE_EASTL=0 $(KRAM_FLAGS) | ||
|
||
OTHER_FLAGS = $(inherited) $(KRAM_FLAGS) $KRAM_FLAGS_REL) $(KRAM_FLAGS_X64) |
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
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
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
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
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
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 @@ | ||
../../build2/kram.xcconfig |
Oops, something went wrong.