Help: CMAKE_<LANG>_USING_LINKER_<TYPE> can be a list of flags

This commit is contained in:
Craig Scott
2024-03-22 21:10:56 +11:00
parent 1c7ccefd83
commit c39bc6e412

View File

@@ -7,8 +7,10 @@ This controls how the value of the :variable:`CMAKE_<LANG>_USING_LINKER_<TYPE>`
variable should be interpreted. The supported linker mode values are:
``FLAG``
:variable:`CMAKE_<LANG>_USING_LINKER_<TYPE>` holds compiler flags. This is
the default.
:variable:`CMAKE_<LANG>_USING_LINKER_<TYPE>` holds a
:ref:`semicolon-separated list <CMake Language Lists>` of flags to be passed
to the compiler frontend. This is also the default behavior if
``CMAKE_<LANG>_USING_LINKER_MODE`` is not set.
``TOOL``
:variable:`CMAKE_<LANG>_USING_LINKER_<TYPE>` holds the path to the linker