CMake/Help/variable/CMAKE_LANG_LINK_MODE.rst
2025-03-02 13:57:30 +01:00

15 lines
318 B
ReStructuredText

CMAKE_<LANG>_LINK_MODE
----------------------
.. versionadded:: 4.0
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.
This variable is read-only. Setting it is undefined behavior.