Re: Specifying precompiler flags?
Re: Specifying precompiler flags?
- Subject: Re: Specifying precompiler flags?
- From: Jean-Francois Im <email@hidden>
- Date: Wed, 14 Dec 2005 10:19:27 -0500
Jonathan del Strother wrote:
I currently have a bunch of code containing bits like :
#ifdef DEBUG
some non-release code
#endif
In a header file somewhere, there's a #define DEBUG command.
Is it possible to move this 'define' command into the target
configuration, so the Debug build gets the DEBUG flag defined and the
Release build doesn't? Or are there any other alternative ways of doing
this?
Jon
Yes, in your build configuration, near the bottom, there is a setting
for preprocessor macros. Also, you can use a prefix header if you want
macros set to a particular value.
Jean-François Im
_______________________________________________
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