Copy File/ Shell Script Phase
Copy File/ Shell Script Phase
- Subject: Copy File/ Shell Script Phase
- From: Jerry LeVan <email@hidden>
- Date: Thu, 25 Mar 2004 11:50:52 -0500
I have a project that builds an application, say Magician.
Magician needs a helper, MagicWand, a C or Foundation executable.
I have added a target MagicWand to the the Magician project and
and aggregate target to build both.
I want the MagicWand to wind up in the Resources folder of the
Magician application at the end of the build process. (So the
Magician can, of course, know where the MagicWand is located).
In addition, since we give the source away, we want the build
to work wherever the apprentice magician locates the project.
I added a Copy File build phase to the project for the target
Magician but dragging the icon of the MagicWand executable from
the Groups and Files panel onto the CopyFile object has no effect.
It appears to me that a Shell Script build phase requires absolute
paths and thus would break if the project were to be moved.
Does anyone know any advanced magic that can solve my problem?
--Jerry
_______________________________________________
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.