Copy build phase and build setting when deploying
Copy build phase and build setting when deploying
- Subject: Copy build phase and build setting when deploying
- From: Bjoern Knafla <email@hidden>
- Date: Thu, 28 Jun 2007 22:28:30 +0200
Hello!
I am building a BSD static library of an open source unit test
framework called UnitTest++ and want to install it from Xcode 2.4.1.
The headers needed to work with the library are organized into one
main folder and two sub-folders:
include
include/Posix
include/Win32
I am copying these files in the main folder via a copy headers phase.
I am trying to copy the Posix and Win32 sub-folder via a copy phase -
and this doesn't work all the time (see below).
The "Public headers folder path" is set to $(INSTALL_PATH)/../include
The Installation directory is set to $(HOME)/Applications/opt/UnitTest
++/lib
One of the copy phases is set to: absolute path and "$
(INSTALL_PATH)/../include/Posix".
"Deployment location" is enabled, too, however I am noticing the
following problem:
- If I set "Installation Build Products Location" ($(DSTROOT))to /
tmp/$(PROJECT_NAME).dst the copy build phase places its files right
where I expect them, for example:
/tmp/UnitTest++/Users/myname/Applications/opt/UnitTest++/lib/../
include/Posix
- Problem: if I set "Installation Build Products Location" to "/" the
copy build phase seemingly doesn't work (there also is no output in
the build window transcripts for the associated copies. The header
copy phase works though.
What am I doing wrong? Isn't $(INSTALL_PATH) defined if $(DSTROOT) is
"/"?
Any help is greatly appreciated because I tried a lot of setting and
seemingly can't map the internal working of Xcode to my understanding
of the way it is documented (or I am missing the important passages
in the docs).
Cheers and kind regards,
Bjoern
_______________________________________________
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