Re: Setting up target dependency
Re: Setting up target dependency
- Subject: Re: Setting up target dependency
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 6 May 2008 16:57:44 +0200
Le 6 mai 08 à 16:51, Hugh Sontag a écrit :
I have a project with three targets: one app and two BSD command-
line tools.
I have each of them compiling correctly, one at a time, when I
choose a particular target. Now I need to accomplish two things:
1. I want to set up the app so that it includes the tools in a "Copy
files" build phase. I would normally add the executables to the
project, but I can't - they're unselectable when I choose "Add to
project...".
You have to use the items that are in the "Products" folder in the
Xcode tree. Drag and drop them into your Copy build step.
Like this, Xcode will copies debug tools when your configuration is
debug and release tools when your configuration is release :-)
2. Once the tools are added to the main app's project, I want to set
up a dependency so that the tools are built when the main app is
built, if the tools are out of date. How do I do that?
Open your app target's settings (double clic on your target item).
Choose the General tab, and use the dependencies table to add
dependency.
_______________________________________________
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