Created
March 28, 2014 07:32
-
-
Save davertay/9827262 to your computer and use it in GitHub Desktop.
XCode5 conditional architecture and configuration flags
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
// Truncated conversion warning | |
GCC_WARN_64_TO_32_BIT_CONVERSION = NO | |
GCC_WARN_64_TO_32_BIT_CONVERSION[arch=*64] = YES | |
// This works but is not honoured when building test target for some reason | |
// OTHER_CFLAGS = -fsingle-precision-constant | |
OTHER_CFLAGS[config=Debug] = -DDEBUG=1 -fsingle-precision-constant | |
OTHER_CFLAGS[config=Debug][arch=*64] = -DDEBUG=1 | |
OTHER_CFLAGS[config=Ad Hoc] = -DNS_BLOCK_ASSERTIONS=1 -fsingle-precision-constant | |
OTHER_CFLAGS[config=Ad Hoc][arch=*64] = -DNS_BLOCK_ASSERTIONS=1 | |
OTHER_CFLAGS[config=Release] = -DNS_BLOCK_ASSERTIONS=1 -fsingle-precision-constant | |
OTHER_CFLAGS[config=Release][arch=*64] = -DNS_BLOCK_ASSERTIONS=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment