Re: #define and #ifdef statements for different build configs
Re: #define and #ifdef statements for different build configs
- Subject: Re: #define and #ifdef statements for different build configs
- From: "Sherm Pendley" <email@hidden>
- Date: Fri, 11 Jul 2008 11:35:58 -0400
On Fri, Jul 11, 2008 at 11:01 AM, Carter R. Harrison
<email@hidden> wrote:
> I have an app that uses different frameworks and method calls based upon the
> currently selected build configuration.
>
> How can I easily setup an #ifdef statement that will only execute if I've
> chosen the "Release" build configuraiton?
"Get Info" on your target, choose the "Release" configuration, and add
a macro to the "Preprocessor Macros" setting.
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden