Re: Specifying precompiler flags?
Re: Specifying precompiler flags?
- Subject: Re: Specifying precompiler flags?
- From: Jonathan del Strother <email@hidden>
- Date: Wed, 14 Dec 2005 15:29:11 +0000
On 14 Dec 2005, at 15:19, Jean-Francois Im wrote:
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
Ah. I did check there, but was searching for 'precompiler' rather
than 'preprocessor' options.
Thanks for the help
Jon
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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