• 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: Utilizing OTHER_CFLAGS properly?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Utilizing OTHER_CFLAGS properly? (From: Sam Krishna <email@hidden>)

  • Prev by Date: Utilizing OTHER_CFLAGS properly?
  • Next by Date: Re: LLVM 2.6 Released / Can it be used with Xcode?
  • Previous by thread: Utilizing OTHER_CFLAGS properly?
  • Next by thread: Re: Utilizing OTHER_CFLAGS properly?
  • Index(es):
    • Date
    • Thread