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

Re: How to detect the configuration?


  • Subject: Re: How to detect the configuration?
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 29 May 2008 13:06:42 -0500

On May 29, 2008, at 12:54 PM, Brian Stern wrote:


On May 29, 2008, at 12:48 PM, Clark Cox wrote:

There is no need to add it to a dozen build targets. Add it to the project, and it will be inherited by all of the targets in said project.

The whole point of DEBUG/RELEASE macros is that some build configurations #define one and the rest #define the other. It wouldn't make sense to #define DEBUG for all the build configurations in a project (at least not to me).

You misunderstand how configurations work. You can define the macros at the project level per configuration. So, the number of things you need to set equals the number of configurations you have, and it is not dependent on the number of targets you have.


Cheers,
Ken

_______________________________________________
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


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>)
 >How to detect the configuration? (From: Richard Kennaway <email@hidden>)
 >Re: How to detect the configuration? (From: "Clark Cox" <email@hidden>)
 >Re: How to detect the configuration? (From: Brian Stern <email@hidden>)

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