Build configurations for Target?
Build configurations for Target?
- Subject: Build configurations for Target?
- From: Dix Lorenz <email@hidden>
- Date: Tue, 4 Oct 2005 14:58:14 +0200
Hi,
I thought I had an understanding of how the build configurations in
XCode 2.1 work but quite obviously I am either missing something or I
hit another Bug...
I have a project with a few targets (one library and a few C++-
Tools). I have two build configurations which on the project Level
are based on two .xcconfig-files. They define most of my stuff, in
the targets I only set the product name. So far everything works fine.
Today I added a target and for this one I would like to add a
definition to pass along to the C++-Compiler, so I set
GCC_PREPROCESSOR_DEFINITIONS = "$(value) DLCLDEBUG=1"
but this gets ignored. No matter what I put in there, in the build
log I always get those definitions that I set in the .xcconfigs in
the project-level.
My understanding is that the target can override the settings from
the project level, am I wrong? I tried the usual stuff like "Clean
All", closing and reopening XCode, manually deleting the shared
precompiled headers, deleting the stuff in the build directory,
switching precompiling on/off, switching distributed compiling on/
off... When I look at the build log I always only see the project-
level definitions.
On a (maybe) related note: At some point distributed compiles stopped
working: "fatal error: can't read PCH file: No such file or
directory". Even those Targets where I didn't change any settings, so
I guess there is another bug hidden somewhere. But then DC has been
very flaky since 2.0 anyway, I keep hoping for the next version of
XCode... :-(
Any ideas?
Thanks,
Dix
_______________________________________________
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