Re: How to detect the configuration?
Re: How to detect the configuration?
- Subject: Re: How to detect the configuration?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 29 May 2008 14:50:20 +0200
Le 29 mai 08 à 14:05, Richard Kennaway a écrit :
How can an XCode program detect whether it was built in Debug or
Release configuration (or any other, for that matter)? In Visual
Studio, _DEBUG is defined as a preprocessor symbol for Debug
versions, but I can't find anything similar in the project settings
in XCode, or the docs. I can manually add _DEBUG to the settings,
but that's tedious in a project with a dozen build targets. Is
there anything automatically #defined?
-- Richard Kennaway
http://www.cocoabuilder.com/archive/message/xcode/2007/1/21/11515
That said, you can add your macros to the project build settings, so
it will apply to all targets (if they do no override this setting)
_______________________________________________
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