LANG_COMPILER_LAUNCHER.rst 550 B

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