Unified debug/release xcconfig file
Unified debug/release xcconfig file
- Subject: Unified debug/release xcconfig file
- From: John Gee <email@hidden>
- Date: Mon, 29 Sep 2008 11:15:16 +1300
I just discovered the Conditional Build Settings, and thought they
offered a way to collapse my xcconfig files from debug/release/common
triplets at each level requiring customization, down to a single
configuration file at each level. I have many more settings in the
common files than in the debug/release.
However, when I do a "debug" build I get both x86 and ppc compiles.
In the project settings in Xcode:
BUILD_VARIANTS = debug
In the xcconfig file:
// This seems to be ignored
ONLY_ACTIVE_ARCH[variant=debug] = YES
// This does works
GCC_PREPROCESSOR_DEFINITIONS[variant=debug] = "MyDef"
With Xcode 3.1.1, is it possible to use a unified xcconfig file for
separate debug and release build configurations? (Am I doing something
wrong, or are there limitations in the conditional support?)
(I have consulted the Conditional Build Settings section of the Xcode
Build System Guide, and have not found other sources of information.)
--
John Gee, ADInstruments
Programmers live in interesting times...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden