• 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: exporting env & build settings as preprocessor defines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exporting env & build settings as preprocessor defines


  • Subject: Re: exporting env & build settings as preprocessor defines
  • From: Shaun Wexler <email@hidden>
  • Date: Mon, 4 Sep 2006 00:54:02 -0700

On Sep 4, 2006, at 12:46 AM, Shaun Wexler wrote:

On Sep 4, 2006, at 12:15 AM, Chris Espinosa wrote:

The easiest way is to use the Preprocessor Definitions build setting:

Preprocessor Definitions SKW_BUILD_ARCH=$(CURRENT_ARCH)

Yeah, I'd tried that already, but for some reason it wasn't stringifying it in code. I'll give it another go... thanks Chris.

Geez, like I said, it was something stupid. My targets each define their own Preprocessor Definitions, and there are none defined globally in the project root, which is where I used SKW_BUILD_ARCH=$ (CURRENT_ARCH)... thus I forgot to prepend each target's settings with ($value).


;)
--
Shaun Wexler
MacFOH
http://www.macfoh.com

A message from the system administrator: 'I've upped my priority. Now up yours.'


_______________________________________________ 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: 
 >exporting env & build settings as preprocessor defines (From: Shaun Wexler <email@hidden>)
 >Re: exporting env & build settings as preprocessor defines (From: Chris Espinosa <email@hidden>)
 >Re: exporting env & build settings as preprocessor defines (From: Shaun Wexler <email@hidden>)

  • Prev by Date: Re: exporting env & build settings as preprocessor defines
  • Next by Date: Re: exporting env & build settings as preprocessor defines
  • Previous by thread: Re: exporting env & build settings as preprocessor defines
  • Next by thread: Re: exporting env & build settings as preprocessor defines
  • Index(es):
    • Date
    • Thread