summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-09-26 12:47:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-09-26 12:47:47 (GMT)
commit53f3e5da1e6bc15baedb1053976b677909564c6f (patch)
tree7cfd690d8ca0577ed7b1c30471a1e053cc39f746 /Help/command
parent8d69aa79b059c9b6145de04458088a6e1e700837 (diff)
parent7abd3137b74543cf698ac6c7290696d82042e7de (diff)
downloadCMake-53f3e5da1e6bc15baedb1053976b677909564c6f.zip
CMake-53f3e5da1e6bc15baedb1053976b677909564c6f.tar.gz
CMake-53f3e5da1e6bc15baedb1053976b677909564c6f.tar.bz2
Merge topic 'link-strategy'
7abd3137b7 Linking: Optionally reorder direct dependencies from LINK_LIBRARIES 9285a9dc9a cmComputeLinkDepends: Add final dependency ordering to debug output f792db4ca2 cmComputeLinkDepends: Add undocumented per-target debug property 80b469a51d cmComputeLinkDepends: Factor out string literals as named constants 3bd73fcc76 cmComputeLinkDepends: Modernize member initialization 8db69c767b cmComputeLinkDepends: Remove redundant member dccdd030cd cmComputeLinkDepends: Replace depender index sentinel value with cm::optional 6c9d8dc243 cmComputeLinkDepends: Replace group index sentinel value with cm::optional ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9835
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/target_link_libraries.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/target_link_libraries.rst b/Help/command/target_link_libraries.rst
index a82adda..94a2429 100644
--- a/Help/command/target_link_libraries.rst
+++ b/Help/command/target_link_libraries.rst
@@ -140,6 +140,11 @@ Items containing ``::``, such as ``Foo::Bar``, are assumed to be
target names and will cause an error if no such target exists.
See policy :policy:`CMP0028`.
+See the :variable:`CMAKE_LINK_LIBRARIES_STRATEGY` variable and
+corresponding :prop_tgt:`LINK_LIBRARIES_STRATEGY` target property
+for details on how CMake orders direct link dependencies on linker
+command lines.
+
See the :manual:`cmake-buildsystem(7)` manual for more on defining
buildsystem properties.