• 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: Build Style access at compile time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build Style access at compile time


  • Subject: Re: Build Style access at compile time
  • From: David Lázaro Saz <email@hidden>
  • Date: Sun, 12 Jun 2005 13:48:27 +0200


On 12/06/2005, at 11:54, Rick Steele wrote:

Is there a define that I can test at compile time to determine the build style.

You can set specific build options in the project info panel for each configuration:


1. Select the project, and open the info panel.

2. Go to the Build tab.

3. Choose the configuration you want to change in the Configuration pop-up.

4. Choose Preprocessing in the Collection pop-up for the compiler you are using, say GCC 4.0.

5. Add any preprocessor macros you like in the Preprocessor Macros or Preprocessor Macros Not Used In Precompiled Headers setting.

This is how you would do it in Xcode 2.1, in previous versions it was similar if only a little bit less orderly.

Cheers,

David.

_______________________________________________
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: 
 >Build Style access at compile time (From: Rick Steele <email@hidden>)

  • Prev by Date: Build Style access at compile time
  • Next by Date: Re: Debugging Unit Tests
  • Previous by thread: Build Style access at compile time
  • Next by thread: Debug Problems
  • Index(es):
    • Date
    • Thread