Back to Cmake

RULE_LAUNCH_COMPILE

Help/prop_gbl/RULE_LAUNCH_COMPILE.rst

4.3.2692 B
Original Source

RULE_LAUNCH_COMPILE

Specify a launcher for compile rules.

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

:ref:Makefile Generators and the :generator: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.