include_directories SYSTEM and they propagation to target

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

include_directories SYSTEM and they propagation to target

Roman Savchenko
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 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

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake