Re: Disabling ZeroLink per target?
Re: Disabling ZeroLink per target?
- Subject: Re: Disabling ZeroLink per target?
- From: daniel <email@hidden>
- Date: Mon, 28 Mar 2005 13:38:39 -0800
I just ran across this interesting thread (a little late).
I'm assuming that Chris's technique can be applied to "checkbox" items
by editing the project.pbxproj file inside your MyProj.xcode bundle.
Close the project, open the file in a text editor, and search for
"ZERO_LINK"... you will find entries for these settings where you can
paste in a variable value as Chris suggests.
I haven't tested this but that is how I will proceed when I get around
to setting up something like this...
Thanks for the tip, Chris!
Daniel
On Mar 22, 2005, at 9:21 AM, René Puls wrote:
Hi Chris,
Am 22.03.2005 um 17:56 schrieb Chris Espinosa:
I would like to tell Xcode to never enable ZeroLink for one specific
target, but keep the default behavior for all other targets. This
doesn't seem to be such an unusual situation - should I file a
feature request for this?
There's a general technique for doing this that applies to any
setting, not just ZeroLink.
- In your Deployment build, set ZeroLink to NO. This ensures that
Deployment for all targets is never zero-linked.
- In your Development build style, set ZeroLink to
$(TARGET_SPECIFIC_ZERO_LINK). This means that the value of Zero Link
will be set by that build setting in each target.
- Select all targets as a group selection, choose Get Info, go to the
Build tab, press "+", and add TARGET_SPECIFIC_ZERO_LINK and set its
value to YES. This sets the build setting in all targets.
- Then inspect the specific targets you want to be different and
change the TARGET_SPECIFIC_ZERO_LINK setting to NO.
Brilliant -- it sounds like this is exactly what I am looking for.
Except... how do I set ZeroLink to "$(TARGET_SPECIFIC_ZERO_LINK)"?
Xcode displays a checkbox for this setting, and there doesn't seem to
be a way to enter a string.
Even if I delete the setting and manually create a new one named
"ZERO_LINK" (by clicking "+"), Xcode recognizes it and turns it into a
checkbox again.
(I'm using Xcode 1.5, BTW.)
Kind regards,
René Puls
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
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