Re: Active Target determination in code
Re: Active Target determination in code
- Subject: Re: Active Target determination in code
- From: Chris Espinosa <email@hidden>
- Date: Mon, 29 Sep 2008 14:53:27 -0700
On Sep 29, 2008, at 2:41 PM, Kevin Kachikian wrote:
How do you determine the active target in a C file so that you can
compile certain code or not depending upon the Active Target?
Just add a MY_TARGET_NAME entry to the Preprocessor Macros Not Used In
Precompiled Headers build setting for that target. Then in the code,
#ifdef MY_TARGET_NAME around code for that target.
Chris
_______________________________________________
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