• 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
identify build style during compile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

identify build style during compile?


  • Subject: identify build style during compile?
  • From: walterw <email@hidden>
  • Date: Fri, 10 Dec 2004 14:57:50 -0500

I have a Carbon application that I'm developing in XCode and I'd like to add code that only gets compiled for a development build.

#ifndef DEPLOYMENT_BUILD
	if (internal_state_passes_tests() == false)
		Debugger();	// break into debugger
#endif

Anyone know how?  I've looked at the docs and can't find out how...

_______________________________________________
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: identify build style during compile?
      • From: Nick Zitzmann <email@hidden>
    • Re: identify build style during compile?
      • From: Chris Hanson <email@hidden>
    • Re: identify build style during compile?
      • From: Michael Rawdon <email@hidden>
    • Re: identify build style during compile?
      • From: Glen Simmons <email@hidden>
  • Prev by Date: CFM Bundles lose resource forks when copied with Xcode 1.2
  • Next by Date: Internal Error when building with xcodebuild
  • Previous by thread: Re: CFM Bundles lose resource forks when copied with Xcode 1.2
  • Next by thread: Re: identify build style during compile?
  • Index(es):
    • Date
    • Thread