[CMake] Recursively include target include directories only

Robert Dailey rcdailey.lists at gmail.com
Wed Jun 17 15:28:37 EDT 2015


Is there a way to only take (recursively) the include directories from
a target or set of targets? I know that include directories propagate
when passing targets to target_link_libraries(), but I do not want to
link the libs; I only want the include directories.

How can I do this? Thanks.


More information about the CMake mailing list