• 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
Setting Conditionals in Targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting Conditionals in Targets


  • Subject: Setting Conditionals in Targets
  • From: Gordon Apple <email@hidden>
  • Date: Wed, 20 Oct 2010 15:22:24 -0500
  • Thread-topic: Setting Conditionals in Targets

I haven't used multiple targets previously, and am trying to figure out how
to differentiate them with conditional compiler flags.  The CFLocalServer
example is useless in this regard because it only deals with selected files.
I thought I remembered being able to set flags in either the project
settings or the target settings, but can't currently find it.  I want to be
able to use the same file in two targets, but with conditionals that
automatically specify which target is chosen.  What is the best way to do
define the necessary flags in the settings?  Do I need to specify different
configurations?


 _______________________________________________
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: Setting Conditionals in Targets
      • From: Wim Lewis <email@hidden>
    • Re: Setting Conditionals in Targets
      • From: Jonathan Prescott <email@hidden>
  • Prev by Date: RE: -mmacosx-version-min=10.5 and nm, strings, otool, et al
  • Next by Date: Re: Setting Conditionals in Targets
  • Previous by thread: RE: -mmacosx-version-min=10.5 and nm, strings, otool, et al
  • Next by thread: Re: Setting Conditionals in Targets
  • Index(es):
    • Date
    • Thread