Re: Utilizing OTHER_CFLAGS properly?
Re: Utilizing OTHER_CFLAGS properly?
- Subject: Re: Utilizing OTHER_CFLAGS properly?
- From: Sam Krishna <email@hidden>
- Date: Tue, 22 Dec 2009 09:47:46 -0600
One other thing: I'm attempting to do this for an iPhone project, SDK
v. 3.0.
On Dec 22, 2009, at 9:45 AM, Sam Krishna wrote:
Platform: Xcode 3.1.4 on Leopard 10.5.8
I'm attempting to utilize OTHER_CFLAGS in the target's build
settings (under User Defined settings) for different build
configurations (Release vs. Debug vs. Demo, etc)
I've attempted repeatedly to use the information gleaned from this
article:
http://www.gotow.net/creative/wordpress/?p=40
which details how to do this. I've not been able to get it to work,
as the compiler seems to ignore the settings.
Right now, I've tried:
OTHER_CFLAGS=1
and
OTHER_CFLAGS="-DTEST_FLAG=1"
and neither registers at compile time.
I've also tried scouring the Apple Docs, but they aren't yielding
any examples I've seen for how to utilize OTHER_CFLAGS in the build
settings. So....
I'm petitioning the Xcode gods (I'm talking to you, Chris Espinosa)
for the critical missing piece of information here.
What's the obvious thing here that I'm missing?
-S
_______________________________________________
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
_______________________________________________
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