• 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
Re: xcconfig files and ZeroLink
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xcconfig files and ZeroLink


  • Subject: Re: xcconfig files and ZeroLink
  • From: Scott Tooker <email@hidden>
  • Date: Wed, 29 Jun 2005 14:30:16 -0700


On Jun 29, 2005, at 12:17 PM, Mark Dalrymple wrote:

Greetings,

To preface this, I submitted this as a bug (4160982) and got back a "Works as designed", so I figured I'd ask here for some clarification.

My motivation is to have a .xcconfig file that I can use to configure my Xcode environment for new projects. I tend to make a lot of new Cocoa projects and make the same changes to all of them. My xcode.xcconfig file contains these lines:

GCC_TREAT_WARNINGS_AS_ERRORS = YES
ZERO_LINK = NO
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_FAST_OBJC_DISPATCH = YES

Specifically, I want ZeroLink and Fix and Continue to be turned off (but most importantly ZeroLink). I load this into the project (not adding it to any particular target like the documentation says), and then in all of my build setting panels, use "Based On" this file.

The -Werror and the Obj-C accelerated dispatch get turned on as I expect, but ZeroLink never gets turned off.

The response I got from DTS is: "Please remove the ZeroLink setting from the target build configurations, and that should solve your problem."

So does that mean that this handy ".xcconfig" thing that I want to use for all my projects so I don't have to edit every target build configuration, is of no use to me unless I edit every target build configuration?

No, it means that you'll need to tweak the project templates so that ZeroLink is not set at the target level, so that your new projects will work with the .xcconfig files you have created.


It is true for existing projects you'll need to clean up their target settings to work with the xconfig files you are setting at the project level.


Or am I just misunderstanding how .xcconfig files work?

Not really, just remember that project level settings (whether they come from the project file or an external xcconfig file) are overriden by target settings (whether they come from the project file or an external xcconfig file) .


Scott


Thank you for your time, ++Mark Dalrymple, email@hidden http://borkware.com

_______________________________________________
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


_______________________________________________ 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: xcconfig files and ZeroLink
      • From: Mark Bessey <email@hidden>
References: 
 >xcconfig files and ZeroLink (From: Mark Dalrymple <email@hidden>)

  • Prev by Date: Re: Subversion and Xcode project
  • Next by Date: Re: xcconfig files and ZeroLink
  • Previous by thread: xcconfig files and ZeroLink
  • Next by thread: Re: xcconfig files and ZeroLink
  • Index(es):
    • Date
    • Thread