mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
Merge topic 'improve-INTERFACE-property-docs'
bb1111eaHelp: Warn that paths should not be used in INTERFACE_ build properties.96691d12Help: Fix typo in genex in documentation.f8f02451Help: Use a property-specific command instead of the generic one.8609a884Help: Make remaining build property docs consistent.bcface39Help: Link to target_link_libraries from target properies.e12926e7Help: Format the LINK_INTERFACE_LIBRARIES target properies.c8540e94Help: Unify the help text of INTERFACE_ build properties.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user