• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Copy Headers that preserves subdirectory structure?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Copy Headers that preserves subdirectory structure?
      • From: Michael Rawdon <email@hidden>
  • Prev by Date: Re: Zero-link
  • Next by Date: Re: Copy Headers that preserves subdirectory structure?
  • Previous by thread: Standard library link error
  • Next by thread: Re: Copy Headers that preserves subdirectory structure?
  • Index(es):
    • Date
    • Thread