[cmake-developers] Setting the INCLUDE_DIRECTORIES property before and after a target after 9106b564
Raphael Kubo da Costa
rakuco at FreeBSD.org
Tue May 1 09:20:55 EDT 2012
Brad King <brad.king at kitware.com> writes:
> CMake 2.8.8 introduced support for per-target include directories.
> Prior to that the directory-level INCLUDE_DIRECTORIES property was
> documented as read-only:
>
> $ cmake --help-property INCLUDE_DIRECTORIES
> cmake version 2.8.7
> INCLUDE_DIRECTORIES
> List of preprocessor include file search directories.
>
> This read-only property specifies the list of directories given so far
> to the include_directories command. It is intended for debugging
> purposes.
>
> It was meant to be set only by the include_directories() command.
> The code in question was using previously undefined behavior and
> worked only by accident.
Alright, thanks for the information, I'll fix the port in question and
move forward.
Cheers.
More information about the cmake-developers
mailing list