summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-05-04 13:06:13 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-05-04 13:06:23 (GMT)
commit0d2d5a229c1cda842f0e67134637f19fc69de6c6 (patch)
treea49e9c37852a30be719018dd3572742739e81ad4 /Help/variable
parentbf36ce2ff6122adbbfa4df2d8f731f57ca282d27 (diff)
parent375e6fdbbe398921de321216125765ba1917a325 (diff)
downloadCMake-0d2d5a229c1cda842f0e67134637f19fc69de6c6.zip
CMake-0d2d5a229c1cda842f0e67134637f19fc69de6c6.tar.gz
CMake-0d2d5a229c1cda842f0e67134637f19fc69de6c6.tar.bz2
Merge topic 'use-linker-depfile'
375e6fdbbe Link step: use linker dependency linker file 24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8443
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst b/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
new file mode 100644
index 0000000..e1b37a5
--- /dev/null
+++ b/Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst
@@ -0,0 +1,12 @@
+CMAKE_LINK_DEPENDS_USE_LINKER
+-----------------------------
+
+.. versionadded:: 3.27
+
+For the :ref:`Makefile <Makefile Generators>` and
+:ref:`Ninja <Ninja Generators>` generators, link dependencies are now, for a
+selection of linkers, generated by the linker itself. By defining this
+variable with value ``FALSE``, you can deactivate this feature.
+
+This feature is also deactivated if the :prop_tgt:`LINK_DEPENDS_NO_SHARED`
+target property is true.