Merge topic 'CMAKE_LANG_LINK_MODE-variable-creation'

00932ea864 Introduce CMAKE_<LANG>_LINK_MODE variable.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !10162
This commit is contained in:
Brad King
2025-01-13 16:23:12 +00:00
committed by Kitware Robot
36 changed files with 94 additions and 1 deletions
+1
View File
@@ -79,6 +79,7 @@ Variables that Provide Information
/variable/CMAKE_LANG_COMPILER_LINKER_VERSION
/variable/CMAKE_LANG_COMPILER_RANLIB
/variable/CMAKE_LANG_LINK_LIBRARY_SUFFIX
/variable/CMAKE_LANG_LINK_MODE
/variable/CMAKE_LINK_LIBRARY_SUFFIX
/variable/CMAKE_LINK_SEARCH_END_STATIC
/variable/CMAKE_LINK_SEARCH_START_STATIC
@@ -0,0 +1,5 @@
CMAKE_LANG_LINK_MODE
--------------------
* The :variable:`CMAKE_<LANG>_LINK_MODE` variable was added to provide
information on how the link step is done.
+12
View File
@@ -0,0 +1,12 @@
CMAKE_<LANG>_LINK_MODE
----------------------
.. versionadded:: 3.32
Defines how the link step is done. The possible values are:
``DRIVER``
The compiler is used as driver for the link step.
``LINKER``
The linker is used directly for the link step.