[CMake] INCLUDE_DIRECTORIES in sub-directories doesn't work?

Hugo Heden hugoheden at gmail.com
Thu Nov 27 08:27:03 EST 2008


2008/11/26 Bill Hoffman <bill.hoffman at kitware.com>:
> The concept of a directory property in CMake is not one to one with the disk
> directories.   A directory in CMake is a directory that has a list of
> targets in it.  You can have a target that uses files from all sorts of
> different directories.   So, a directory property is not what you want.

( Off-topic;

Ahaaa, that must be the reason for why

set_directory_properties( properties additional_clean_files ... )

is not respected if no *target* present in the "directory"

I've added a note to http://public.kitware.com/Bug/view.php?id=8164

Best Regards
Hugo Heden
)


More information about the CMake mailing list