Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Removing NSLog & NSAssert for deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing NSLog & NSAssert for deployment



On Thursday, February 7, 2002, at 01:56 PM, Bill Cheeseman wrote:
And still, it says nothing about where and how to define the
macro.

I need a short walk through an example, here.

Select the Targets tab, click on the Deployment build style. Under the Build Settings, click the "+" button to add a new setting, name the setting OTHER_CFLAGS, and set its value to -DNS_BLOCK_ASSERTIONS=1.

It's also handy to add an OTHER_CFLAGS setting to the Development build style with value -DDEBUG=1.


<fergy/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Removing NSLog & NSAssert for deployment (From: Bill Cheeseman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.