• 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: How to conditionally run a script based on build configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: How to conditionally run a script based on build configuration
  • From: Richard Wackerbarth <email@hidden>
  • Date: Mon, 27 Jun 2005 15:26:42 -0500

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:
This email sent to email@hidden


  • Prev by Date: Re: [Fwd: How to conditionally run a script based on build configuration]
  • Next by Date: Re: [Fwd: How to conditionally run a script based on build configuration]
  • Previous by thread: Re: How to conditionally run a script based on build configuration
  • Next by thread: Re: Xcode-users Digest, Vol 2, Issue 302
  • Index(es):
    • Date
    • Thread