Hello,

I am trying to create a framework in cmake, the only problem I have so far is that directory structure of the public headers is not kept. For example, suppose my headers are declared as

set(my_HDRS
        h1.hh
        var/h1.hh
        var/h2.hh
        var-imp/h1.hh
        var-imp/h2.hh)

of course, there are three different h1.hh files in this case, but all of the reside in different places. When I use:

set_target_properties(my PROPERTIES PUBLIC_HEADER  "${my_HDRS}"
                FRAMEWORK true)

everything goes well but in the resulting framework there are no directories "var" nor "var-imp" inside the public headers. As far as I can see all the files are grouped into one directory.

Is there any way to let cmake know that I want to have "var" and "var- imp" as subdirectories in the public headers with the corresponding files inside?


kind regards,
Gustavo
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to