Re: Setting Conditionals in Targets
Re: Setting Conditionals in Targets
- Subject: Re: Setting Conditionals in Targets
- From: "Glenn L. Austin" <email@hidden>
- Date: Wed, 20 Oct 2010 19:14:17 -0700
You probably want -Dxyz to be able to use #ifdef xyz.
Personally, I'd use -Dxyz=1 so I could use #if xyz.
On Oct 20, 2010, at 7:02 PM, Gordon Apple wrote:
> After some more research, I did find that you can supposedly select a file,
> click Info, and set compiler flags for a target. However, I could not get
> it to work. I added "-xyz". (Don't ask me what the "-" is for. it won't
> compile without it.) But if I put an "#ifdef xyz" into the code, it ignores
> it. So I'm still doing something wrong.
_______________________________________________
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