Re: Configuration in scripts
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