Passing PREPROCESSOR_MACROS as input to XCode build
Passing PREPROCESSOR_MACROS as input to XCode build
- Subject: Passing PREPROCESSOR_MACROS as input to XCode build
- From: Yuichi Kuroda <email@hidden>
- Date: Fri, 15 May 2009 18:36:07 -0500
- Acceptlanguage: en-US
- Thread-topic: Passing PREPROCESSOR_MACROS as input to XCode build
I’m currently running an xcode build via an Automator
job. I’d like to set a PREPROCESSOR_MACROS (ie. BUILT_BY_AUTOMATOR=1)
only when the build is performed through the Automator. I was wondering if this
is possible, some sort of way to pass an envrironment variable as input to the
xcode build.
An alternative method I’m using right now is by
creating a new build configuration, a duplicate of the Debug configuration (say,
Debug2). But the only difference between the two is that I’m setting that
one extra environment variable in the new configuration, which seems too
inefficient.
- Yuichi
|
_______________________________________________
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