• 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: Configuration in scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuration in scripts


  • Subject: Re: Configuration in scripts
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 9 Jun 2005 18:29:57 -0700


On Jun 9, 2005, at 5:57 PM, Paul Guyot wrote:

Hello,


How can I know what the current build configuration is?


I would need to know that in a script and in build settings.


For example, I want LIBRARY_SEARCH_PATHS to be $(K)_Build_/Xcode/build/Default/ when I'm compiling with the default configuration and $(K)_Build_/Xcode/build/Universal/ when I'm compiling with the universal configuration.


The only workaround I've been considering is to create a custom build configuration setting with the name of the configuration, but I wonder if there is an easy way which I didn't find looking at printenv output.


Thanks in advance.



The Build Settings Notes (available from your Help menu) say this:

  • CONFIGURATION
  • Contains the name of the build configuration being used. When building from the UI or (building with xcodebuild and specifying a configuration with -configuration or -activeconfiguration) this will be the same as the specified configuration. In the case where no configuration is explicitly specified (i.e. building with -xcodebuild but not specifying a configuration) then the default build configuration (as defined in the Configurations tab of the project inspector) will be used.
  • This setting is intended for read-only access, and should not be modified directly.
Chris
 _______________________________________________
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: Configuration in scripts
      • From: Paul Guyot <email@hidden>
References: 
 >Configuration in scripts (From: Paul Guyot <email@hidden>)

  • Prev by Date: Re: Using alternate gcc in Xcode
  • Next by Date: Porting Foundation Tools to Intel
  • Previous by thread: Configuration in scripts
  • Next by thread: Re: Configuration in scripts
  • Index(es):
    • Date
    • Thread