[CMake] public headers with different subdirectories
Eric Noulard
eric.noulard at gmail.com
Tue Oct 14 18:07:18 EDT 2008
2008/10/14 Hendrik Sattler <post at hendrik-sattler.de>:
> Hi,
>
> suppose I have a library that has several header files. Those header files are
> do not have a flat tree but some subdirectories.
> However, I'd like to use the PUBLIC_HEADER property and install stuff.
>
> Can this be done with
> install(TARGETS ... PUBLIC_HEADER DESTINATION include/mylib)
> or do I have to use
> install(FILES ...)
> instead?
I do have the same need.
I currently use
install(DIRECTORY ...)
--
Erk
More information about the CMake
mailing list