Mailing Lists: Apple Mailing Lists

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

Re: [Fwd: How to conditionally run a script based on build configuration]



Let me rephrase. We want to have one way of referencing a build setting in the future (in both build settings and scripts) to reduce confusion, what form that takes is a secondary issue that is not decided at this point. Obviously, choosing a more more familiar form for the referencing is preferable (as long as the chosen form doesn't imply behavior that is false or non-existent). 

Scott

On Jun 27, 2005, at 1:21 PM, Richard Wackerbarth wrote:

Objection!

Unless you throw out decades of Unix experience and the ability to nest Unix commands in makefiles, you cannot have only one style of bracketing.

Unless your goal is to create yet another incompatible, self contained build system that cannot leverage off of anything else, you should use the well established Unix conventions.  ${VARIABLE} is the standard within scripts. $(VARIABLE) is either an error, or means something else.

On Jun 27, 2005, at 2:56 PM, Scott Tooker wrote:

File a bug on that. We really want to standardize on one style of bracketing in the future and $() looks to be the winner.

Scott

On Jun 27, 2005, at 12:34 PM, Jonas Maebe wrote:
On 27 jun 2005, at 20:15, Scott Tooker wrote:
Maybe the script itself can compare the build configuration using a ${XXX} define? If so, what's the define for the current build configuration?
Actually, that should be $(CONFIGURATION) (note the use of parens).
Well, inside the script it most certainly has to be ${CONFIGURATION} (at least since Xcode 2.1).


 _______________________________________________
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

References: 
 >[Fwd: How to conditionally run a script based on build configuration] (From: Allen Cronce <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Jonas Maebe <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Scott Tooker <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Jonas Maebe <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Scott Tooker <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.