• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
#ifdef/build style question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

#ifdef/build style question


  • Subject: #ifdef/build style question
  • From: patrick <email@hidden>
  • Date: Thu, 6 Jan 2005 10:26:48 -0800

I'd like to have debug code in my application like:

#ifdef DEBUG_ON
NSLog(@"This is a debug message");
#endif

And DEBUG_ON would be defined in my Development build style. I've
added such a setting into the build style, but it would appear that
this is not the same as if I were using "make -DDEBUG_ON ...". Is
there a way to reference these settings in the build styles to control
what gets compiled in?

Thanks,

Patrick
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: #ifdef/build style question
      • From: Scott Stevenson <email@hidden>
    • Re: #ifdef/build style question
      • From: Brian Smith <email@hidden>
  • Prev by Date: Re: NSTableView custom cell problem
  • Next by Date: Re: Cocoa Bindings - nondebuggable, non-obvious, procedural ???
  • Previous by thread: Re: NSTableView custom cell problem
  • Next by thread: Re: #ifdef/build style question
  • Index(es):
    • Date
    • Thread