mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
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:
@@ -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.
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user