LANG_COMPILER_LAUNCHER.rst 574 B

1234567891011121314
  1. <LANG>_COMPILER_LAUNCHER
  2. ------------------------
  3. This property is implemented only when ``<LANG>`` is ``C``, ``CXX``,
  4. ``Fortran``, or ``CUDA``.
  5. Specify a :ref:`;-list <CMake Language Lists>` containing a command line
  6. for a compiler launching tool. The :ref:`Makefile Generators` and the
  7. :generator:`Ninja` generator will run this tool and pass the compiler and
  8. its arguments to the tool. Some example tools are distcc and ccache.
  9. This property is initialized by the value of
  10. the :variable:`CMAKE_<LANG>_COMPILER_LAUNCHER` variable if it is set
  11. when a target is created.