XCode Settings
XCode Settings
- Subject: XCode Settings
- From: Sandro Noel <email@hidden>
- Date: Sat, 9 Dec 2006 16:13:02 -0500
Greetings!
When developing i like to log with NSLog();
but i would like to have the code conditionaly compile to the
debugging configuration.
so when i will select the release configuration then that
all the NSLog lines will not even be compiled...
i've tried
#ifdef DEBUG
NSLog(@"say something");
#endif
But that does not work unless i define the #define DEBUG
any way to activate that depending on hte selected configuration in
Xcode ?
again thank you !
Sandro Noel.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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