<LANG>_COMPILER_LAUNCHER — CMake 4.2.6 Documentation

# <LANG>_COMPILER_LAUNCHER

Added in version 3.4.

This property is implemented only when `<LANG>` is `C`, `CXX`, `Fortran`, `HIP`, `ISPC`, `OBJC`, `OBJCXX`, or `CUDA`.

Specify a semicolon-separated list containing a command line for a compiler launching tool. The Makefile Generators and the `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 `CMAKE_<LANG>_COMPILER_LAUNCHER` variable if it is set when a target is created.

Added in version 3.25: The property value may use `generator expressions`.