Copy Headers that preserves subdirectory structure?
Copy Headers that preserves subdirectory structure?
- Subject: Copy Headers that preserves subdirectory structure?
- From: Steve Byan <email@hidden>
- Date: Thu, 11 Oct 2007 14:58:39 -0400
Is there a way to have the Copy Headers build phase preserve the
subdirectory structure for the header files?
I've got a BSD static library project that provides some FreeBSD and
Linux emulation for cross-compiling unit-tests on OS X. As part of
the emulation, I need to install headers like sys/callout.h and cam/
cam.h in my Public Headers Folder Path. Unfortunately, the Xcode Copy
Headers build phase seems to flatten the directory structure and
install all the headers at the top level of Public Headers Folder. Is
there some setting that can instruct Copy Headers to preserve a
relative path for a header file?
The alternative seems to be to copy the headers in a Run Script build
phase. Does Xcode export PUBLIC_HEADERS_FOLDER_PATH as an
environment variable?
TIA.
Regards,
-Steve
--
Steve Byan <email@hidden>
Littleton, MA 01460
_______________________________________________
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