Passing XCode environmnt variables to gcc
Passing XCode environmnt variables to gcc
- Subject: Passing XCode environmnt variables to gcc
- From: Daniel Cabrini Hauagge <email@hidden>
- Date: Fri, 23 Jul 2010 11:48:10 -0400
Hi all,
This probably has been brought up before but I couldn't find it
anywhere so please help me out here. I want to pass an environment
variable that XCode defines to gcc with the "Other C Flags" option.
This is what I'm trying without luck
-D__MYVAR__=$(PROJECT_NAME)
The problem seems to be that $(PROJECT_NAME) gets evaluated right
away, and since we're not building the project it has not been defined
yet. Any ideas?
Thanks,
Daniel
_______________________________________________
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