Re: Controlling targets and headers?
Re: Controlling targets and headers?
- Subject: Re: Controlling targets and headers?
- From: "Mark A. Stratman" <email@hidden>
- Date: Tue, 15 Jun 2004 23:26:54 -0500
I'm sure there are lots of ways to do it. The way I'd choose would be
to add specific defines to one or each type of build.
Click on the project name in the "groups and files" outline view on the
left of xcode, pull up the info panel. There's a drop-down in the
"styles" tab that should have deployment and development in it.
For each of these you can set additional compile flags.
You could add something like -DDEV_TARGET to the development build.
Then in your code just do:
#ifdef DEV_TARGET
// ... etc.
#endif
hth.
- Mark
On Jun 15, 2004, at 9:15 PM, April Gendill wrote:
Is there a preprocessor directive (or some other way) that would allow
me to determine the target being built and include a specific header
for one target or a different one for another target?
Thanks
April.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.