diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-11-22 12:16:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-25 15:00:35 (GMT) |
commit | bb1111eaa220eb534338410e2d1ffcf696f9ae44 (patch) | |
tree | 0ab92098a49fc6b65d06fa87d858e40b2f79d5df /Help/command | |
parent | 96691d126bb1d1e3a9c7fc049429a36032a98346 (diff) | |
download | CMake-bb1111eaa220eb534338410e2d1ffcf696f9ae44.zip CMake-bb1111eaa220eb534338410e2d1ffcf696f9ae44.tar.gz CMake-bb1111eaa220eb534338410e2d1ffcf696f9ae44.tar.bz2 |
Help: Warn that paths should not be used in INTERFACE_ build properties.
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/target_include_directories.rst | 3 | ||||
-rw-r--r-- | Help/command/target_link_libraries.rst | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Help/command/target_include_directories.rst b/Help/command/target_include_directories.rst index fd433a8..1d236ce 100644 --- a/Help/command/target_include_directories.rst +++ b/Help/command/target_include_directories.rst @@ -54,3 +54,6 @@ installation prefix. For example: $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/mylib> $<INSTALL_INTERFACE:include/mylib> # <prefix>/include/mylib ) + +.. |INTERFACE_PROPERTY_LINK| replace:: :prop_tgt:`INTERFACE_INCLUDE_DIRECTORIES` +.. include:: /include/INTERFACE_INCLUDE_DIRECTORIES_WARNING.txt diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst index 39537a7..e6a82b6 100644 --- a/Help/command/target_link_libraries.rst +++ b/Help/command/target_link_libraries.rst @@ -49,6 +49,9 @@ CMake will also propagate :ref:`usage requirements <Target Usage Requirements>` from linked library targets. Usage requirements of dependencies affect compilation of sources in the ``<target>``. +.. |INTERFACE_PROPERTY_LINK| replace:: :prop_tgt:`INTERFACE_LINK_LIBRARIES` +.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt + If an ``<item>`` is a library in a Mac OX framework, the ``Headers`` directory of the framework will also be processed as a :ref:`usage requirement <Target Usage Requirements>`. This has the same |