Re: predefined DEFINE for Debug or Release build?
Re: predefined DEFINE for Debug or Release build?
- Subject: Re: predefined DEFINE for Debug or Release build?
- From: email@hidden
- Date: Tue, 6 May 2008 10:47:06 -0400
It works!
Thanks for prompt reply.
Woojung
Jean-Daniel Dupas
<email@hidden>
Sent by: To
xcode-users-bounces+woojung.huh=sms Woojung Huh/SMSC@SMSC
email@hidden cc
email@hidden
Subject
05/06/2008 10:35 AM Re: predefined DEFINE for Debug or Release build?
Le 6 mai 08 à 16:05, email@hidden a écrit :
>
> Hi,
>
> Does Xcode 3.0 have pre-defined C define to check Release build or
> Debug build?
>
> If not, how can I add my define on Xcode configuration?
> I tried on Xcode configruation menu, but it can be has C define like
> -DMY_DEFINE=1.
>
> I'm building Kext module using XCode 3.0
>
> Thanks in advance,
> Woojung
What you want is a preprocessor macro.
Open the target build settings (or the projet build setting if you
want projet wide settings) by double clicking the corresponding item
(the target or the projet item)
Choose the "build" tab to show all build settings.
Choose the "configuration" you want to update (release, debug, ...).
And then search for "Preprocessor Macros" in the build settings list.
If you want something like -DMY_DEFINE=1, just enter MY_DEFINE=1
(without the -D)
_______________________________________________
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