• 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
Specifying precompiler flags?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Specifying precompiler flags?


  • Subject: Specifying precompiler flags?
  • From: Jonathan del Strother <email@hidden>
  • Date: Wed, 14 Dec 2005 15:12:52 +0000

I currently have a bunch of code containing bits like :
#ifdef DEBUG
  some non-release code
#endif


In a header file somewhere, there's a #define DEBUG command.

Is it possible to move this 'define' command into the target configuration, so the Debug build gets the DEBUG flag defined and the Release build doesn't? Or are there any other alternative ways of doing this?

Jon

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Specifying precompiler flags?
      • From: "James Larcombe" <email@hidden>
  • Prev by Date: Re: GCC 4 and iostream.h
  • Next by Date: Re: Specifying precompiler flags?
  • Previous by thread: Re: GCC 4 and iostream.h
  • Next by thread: Re: Specifying precompiler flags?
  • Index(es):
    • Date
    • Thread