summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-03-02 16:32:44 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-03-05 11:40:26 (GMT)
commitb0fada9964589462127cfcc45f1c6f003c349ebc (patch)
tree597e818443e62c71b0ce178dab32c3d310159d80 /Help/manual
parenta950fd9553cc4a9457bbe701399fce09ed360151 (diff)
downloadCMake-b0fada9964589462127cfcc45f1c6f003c349ebc.zip
CMake-b0fada9964589462127cfcc45f1c6f003c349ebc.tar.gz
CMake-b0fada9964589462127cfcc45f1c6f003c349ebc.tar.bz2
Genex-LINK_GROUP: Add feature RESCAN
Feature RESCAN can be used to manage circular references between static libraries.
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)`,