Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xcconfig files and ZeroLink



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?

Or am I just misunderstanding how .xcconfig files work?

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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.