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

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


  • Subject: Re: [Fwd: How to conditionally run a script based on build configuration]
  • From: Scott Tooker <email@hidden>
  • Date: Mon, 27 Jun 2005 13:34:08 -0700

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [Fwd: How to conditionally run a script based on build configuration]
      • From: Jonas Maebe <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>)

  • Prev by Date: Re: 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: [Fwd: How to conditionally run a script based on build configuration]
  • Next by thread: Re: [Fwd: How to conditionally run a script based on build configuration]
  • Index(es):
    • Date
    • Thread