[CMake] OS X Framework creation and nested header files

David Cole david.cole at kitware.com
Wed Aug 6 16:46:56 EDT 2008


set(deepPublicHeaders fooDeepPublic.h fooDeepPublic1.h fooDeepPublic2.h
..........)
set_property(SOURCE ${deepPublicHeaders}
 PROPERTY MACOSX_PACKAGE_LOCATION Headers/Deep
 )

...should work, too. One call per list of headers with a unique folder name
shouldn't be *too* verbose.


On Wed, Aug 6, 2008 at 4:42 PM, Mike Jackson <mike.jackson at imts.us> wrote:

> I am starting to explore the Framework creation from CMake 2.6. In my first
> attempt things generally were created correctly except for the Headers
> folder. All my includes are in a flat hierarchy. I need my Headers to retain
> their folder layout like they do when creating a normal dylib installation.
>
> Is this supported? or am I just missing a step maybe?
>
> I am working from the example in the Test/Frameworks folder and I see this:
> set_property(SOURCE fooDeepPublic.h
>  PROPERTY MACOSX_PACKAGE_LOCATION Headers/Deep
>  )
>
> I have like 100 Headers for my project. That is going to get pretty verbose
> pretty quick if I have to do that for each header..
>
> --
> Mike Jackson   Senior Research Engineer
> Innovative Management & Technology Services
>
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080806/77382692/attachment.htm>


More information about the CMake mailing list