• 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
Re: active build configuration macros?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: active build configuration macros?


  • Subject: Re: active build configuration macros?
  • From: Alexander von Below <email@hidden>
  • Date: Sun, 21 Jan 2007 21:49:23 +0100

You can define such macros yourself, either in the project or the target build settings.

In your Development configuration, go to "other C Flags" and enter

-D_DEVELOPMENT_

Alex

Am 21.01.2007 um 21:46 schrieb Nick Briggs:

Hi

Is there a macro to enable me to conditionally compile code based on the 'active build configuration'? Im looking for something like:


#if __DEVELOPMENT__

// some error checking code

#endif


cheers

Nick


_______________________________________________ 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

_______________________________________________ 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:
    • [TIP] Active build configuration macros
      • From: Chris Espinosa <email@hidden>
References: 
 >active build configuration macros? (From: Nick Briggs <email@hidden>)

  • Prev by Date: active build configuration macros?
  • Next by Date: -single_module error with -bundle
  • Previous by thread: active build configuration macros?
  • Next by thread: [TIP] Active build configuration macros
  • Index(es):
    • Date
    • Thread