RULE_LAUNCH_COMPILE — CMake 3.24.2 Documentation

# RULE_LAUNCH_COMPILE

Specify a launcher for compile rules.

Note

This property is intended for internal use by `ctest(1)`. Projects and developers should use the `<LANG>_COMPILER_LAUNCHER` target properties or the associated `CMAKE_<LANG>_COMPILER_LAUNCHER` variables instead.

Makefile Generators and the `Ninja` generator prefix compiler commands with the given launcher command line. This is intended to allow launchers to intercept build problems with high granularity. Other generators ignore this property because their underlying build systems provide no hook to wrap individual commands with a launcher.