cmake/Help/prop_tgt/LANG_COMPILER_LAUNCHER.rst

22 lines
778 B
ReStructuredText
Raw Normal View History

2015-11-17 17:22:37 +01:00
<LANG>_COMPILER_LAUNCHER
------------------------
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.4
2018-01-26 17:06:56 +01:00
This property is implemented only when ``<LANG>`` is ``C``, ``CXX``,
2021-09-14 00:13:48 +02:00
``Fortran``, ``HIP``, ``ISPC``, ``OBJC``, ``OBJCXX``, or ``CUDA``.
2015-11-17 17:22:37 +01:00
2019-11-11 23:01:05 +01:00
Specify a :ref:`semicolon-separated list <CMake Language Lists>` containing a command line
2015-11-17 17:22:37 +01:00
for a compiler launching tool. The :ref:`Makefile Generators` and the
:generator:`Ninja` generator will run this tool and pass the compiler and
its arguments to the tool. Some example tools are distcc and ccache.
This property is initialized by the value of
the :variable:`CMAKE_<LANG>_COMPILER_LAUNCHER` variable if it is set
when a target is created.
2022-11-16 20:14:03 +01:00
.. versionadded:: 3.25
The property value may use
:manual:`generator expressions <cmake-generator-expressions(7)>`.