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

Added in version 4.5: Any wrappers specified by COMPILE_WRAPPERS and INTERFACE_COMPILE_WRAPPERS are placed before the launcher command line. See COMPILE_WRAPPERS for details.