• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Build configurations for Target?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Build configurations for Target?
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: xcode projects prortability ?
  • Next by Date: Elementary Question -- Will PAY for Advice
  • Previous by thread: Debug file size problem
  • Next by thread: Re: Build configurations for Target?
  • Index(es):
    • Date
    • Thread