• 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
How to detect the configuration?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to detect the configuration?


  • Subject: How to detect the configuration?
  • From: Richard Kennaway <email@hidden>
  • Date: Thu, 29 May 2008 13:05:50 +0100

How can an XCode program detect whether it was built in Debug or Release configuration (or any other, for that matter)? In Visual Studio, _DEBUG is defined as a preprocessor symbol for Debug versions, but I can't find anything similar in the project settings in XCode, or the docs. I can manually add _DEBUG to the settings, but that's tedious in a project with a dozen build targets. Is there anything automatically #defined?

-- Richard Kennaway
_______________________________________________
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: How to detect the configuration?
      • From: "Clark Cox" <email@hidden>
    • Re: How to detect the configuration?
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Thanks for the warm invite! (From: Fred Gaddis <email@hidden>)
 >Re: Thanks for the warm invite! (From: "Michael Crawford" <email@hidden>)
 >Re: Thanks for the warm invite! (From: Jens Alfke <email@hidden>)
 >Re: Thanks for the warm invite! (From: "Michael Crawford" <email@hidden>)

  • Prev by Date: Re: Thanks for the warm invite!
  • Next by Date: Re: How to detect the configuration?
  • Previous by thread: Re: Thanks for the warm invite!
  • Next by thread: Re: How to detect the configuration?
  • Index(es):
    • Date
    • Thread