Re: Setting Conditionals in Targets
Re: Setting Conditionals in Targets
- Subject: Re: Setting Conditionals in Targets
- From: Jonathan Prescott <email@hidden>
- Date: Wed, 20 Oct 2010 16:34:41 -0400
You can double-click on the target, right-click to "Get Info" on the target, and under the Project Menu setting, edit the active Target, which is the current target selected in the various Xcode drop-down bars. All of these action bring you to the target editor, which will allow you to modify the build settings for that particular target.
If you want to change compile settings for a specific file in a specific target, even if it's the same file used in another target, I'd like to know if that's possible as well.
Jonathan
On Oct 20, 2010, at 4:22 PM, Gordon Apple wrote:
> 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
_______________________________________________
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