INCLUDE_DIRECTORIES

在 4.5 版被加入.

預處理器包含檔案搜尋目錄的清單。

The INCLUDE_DIRECTORIES property may be set to a semicolon-separated list of directories given so far to the set_property(RULE) command.

The value of this property is used by the rule definitions to set the include paths for the compiler.

Relative paths should not be added to this property.

Contents of INCLUDE_DIRECTORIES may use generator expressions with the syntax $<...>. See the cmake-buildsystem(7) manual for more on defining buildsystem properties.