diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-04-19 14:01:10 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-05-03 15:08:07 (GMT) |
commit | 375e6fdbbe398921de321216125765ba1917a325 (patch) | |
tree | 43d934f18f4d28a82d5264a0d0fb0301bc0bf7d9 /Help/variable | |
parent | 24a3e5cda049138ca178216e0d7b02262e4035ed (diff) | |
download | CMake-375e6fdbbe398921de321216125765ba1917a325.zip CMake-375e6fdbbe398921de321216125765ba1917a325.tar.gz CMake-375e6fdbbe398921de321216125765ba1917a325.tar.bz2 |
Link step: use linker dependency linker file
Based on work done by @ben.boeckel (!8051)
Fixes: #22217
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_LINK_DEPENDS_USE_LINKER.rst | 12 |
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. |