[CMake] include_directories SYSTEM and they propagation to target
Roman Savchenko
gmstima at gmail.com
Tue Jul 30 10:20:41 EDT 2019
HI all,
I will appreciate if you could help me with one question.
>From manual:
*include_directories:*
*They are also added to the INCLUDE_DIRECTORIES
<https://cmake.org/cmake/help/v3.5/prop_tgt/INCLUDE_DIRECTORIES.html#prop_tgt:INCLUDE_DIRECTORIES>
target property for each target in the current CMakeLists file.*
and *INTERFACE_SYSTEM_INCLUDE_DIRECTORIES:*
* Targets may populate this property to publish the include directories
which contain system headers, and therefore should not result in compiler
warnings. *
Does it mean that include_directories(SYSTEM ${PATH}) will be populated to
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES ?
Regards,
Roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190730/703cf1ea/attachment.html>
More information about the CMake
mailing list