summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-07 15:03:29 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-07 15:03:36 (GMT)
commit7e807479ffa2691d09eeae6e51322f34672dbef8 (patch)
tree32d9baa065a4bc72d8cb56ad4dcac0853893215e /Help/manual
parent5f7f9faada87134d60e63fb5d263d3c003889ffd (diff)
parentb0fada9964589462127cfcc45f1c6f003c349ebc (diff)
downloadCMake-7e807479ffa2691d09eeae6e51322f34672dbef8.zip
CMake-7e807479ffa2691d09eeae6e51322f34672dbef8.tar.gz
CMake-7e807479ffa2691d09eeae6e51322f34672dbef8.tar.bz2
Merge topic 'LINK_GROUP-rescan-static-libs'
b0fada9964 Genex-LINK_GROUP: Add feature RESCAN Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7044
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-generator-expressions.7.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/Help/manual/cmake-generator-expressions.7.rst b/Help/manual/cmake-generator-expressions.7.rst
index 403c06e..0ab4bc2 100644
--- a/Help/manual/cmake-generator-expressions.7.rst
+++ b/Help/manual/cmake-generator-expressions.7.rst
@@ -1236,7 +1236,7 @@ Output-Related Expressions
expression.
The ``library-list`` argument can hold CMake targets or external libraries.
- Any ``CMake`` target of type :ref:`OBJECT <Object Libraries>` or
+ Any CMake target of type :ref:`OBJECT <Object Libraries>` or
:ref:`INTERFACE <Interface Libraries>` will be ignored by this expression and
will be handled in the standard way.
@@ -1284,7 +1284,7 @@ Output-Related Expressions
target_link_libraries(lib4 PRIVATE lib3 "$<LINK_GROUP:feature1,lib1,lib2>")
# lib4 will only be linked with lib3 and the group {lib1,lib2}
- This example will be "re-written" by ``CMake`` in the following form:
+ This example will be "re-written" by CMake in the following form:
.. code-block:: cmake
@@ -1317,7 +1317,7 @@ Output-Related Expressions
target_link_libraries(lib3 PRIVATE "$<LINK_GROUP:feat,lib1A,lib1B>"
"$<LINK_GROUP:feat,lib2A,lib2B>")
- This example will be "re-written" by ``CMake`` in the following form:
+ This example will be "re-written" by CMake in the following form:
.. code-block:: cmake
@@ -1337,6 +1337,10 @@ Output-Related Expressions
So, we have a circular dependency between groups ``{lib1A,lib1B}`` and
``{lib2A,lib2B}``.
+ CMake pre-defines some features of general interest:
+
+ .. include:: ../variable/LINK_GROUP_PREDEFINED_FEATURES.txt
+
.. genex:: $<INSTALL_INTERFACE:...>
Content of ``...`` when the property is exported using :command:`install(EXPORT)`,