summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_USING_LINKER_MODE.rst
blob: bfed407bed9ef96eab0188e4df39f4291ea4492b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CMAKE_<LANG>_USING_LINKER_MODE
------------------------------

.. versionadded:: 3.29

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 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
  tool.