Re: Multiple targets in a project
Re: Multiple targets in a project
- Subject: Re: Multiple targets in a project
- From: Shaun Wexler <email@hidden>
- Date: Sat, 28 Feb 2004 14:54:12 -0800
On Feb 28, 2004, at 2:37 PM, Rick Jansen wrote:
I'd like to have different applications built from within one
project. Much of the source code is the same, but there are
slight differences here and there. I can create a new target
in a project.
Now what is the common way to actually direct the compiler to use
the different code? Do you put some compiler directive somewhere
that you query with #IFDEF's to #import different .h files and such?
Or are there better ways to do this in Xcode?
FFR, this question is better suited for email@hidden.
In each app target's build settings, declare a different precomp file,
and add your flag to Preprocessor Macros, so you can use #ifdef; the
flag will be visible to in all files in the app.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
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.