diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-09 10:55:12 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-02-09 11:11:09 (GMT) |
commit | ef17e29389f6712c34117944e0bd83bf46b8d7a0 (patch) | |
tree | a239e8eb782f36cdd456761566334e384b1aff6f /Help/manual | |
parent | d58280949745660508aa203335dca9b1368817fe (diff) | |
download | CMake-ef17e29389f6712c34117944e0bd83bf46b8d7a0.zip CMake-ef17e29389f6712c34117944e0bd83bf46b8d7a0.tar.gz CMake-ef17e29389f6712c34117944e0bd83bf46b8d7a0.tar.bz2 |
Help: Document SYSTEM treatment of IMPORTED target INTERFACE_INCLUDE_DIRS
Document how the behavior can be controlled.
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-buildsystem.7.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/manual/cmake-buildsystem.7.rst b/Help/manual/cmake-buildsystem.7.rst index 91a9b2f..04837b4 100644 --- a/Help/manual/cmake-buildsystem.7.rst +++ b/Help/manual/cmake-buildsystem.7.rst @@ -602,6 +602,14 @@ This is equivalent to appending ``${CMAKE_INSTALL_PREFIX}/include`` to the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of each of the installed :prop_tgt:`IMPORTED` targets when generated by :command:`install(EXPORT)`. +When the :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` of an +:ref:`imported target <Imported targets>` is consumed, the entries in the +property are treated as ``SYSTEM`` include directories, as if they were +listed in the :prop_tgt:`INTERFACE_SYSTEM_INCLUDE_DIRECTORIES` of the +dependency. This can result in omission of compiler warnings for headers +found in those directories. This behavior for :ref:`imported targets` may +be controlled with the :prop_tgt:`NO_SYSTEM_FROM_IMPORTED` target property. + If a binary target is linked transitively to a Mac OX framework, the ``Headers`` directory of the framework is also treated as a usage requirement. This has the same effect as passing the framework directory as an include |