CMake output can be customized by suppressing the standard messages produced by CMake and outputting a custom message in a launcher script instead. Add the following code to your outermost CMakeLists.txt:
Setting the global RULE_MESSAGES property to OFF will suppress the standard messages.
The global RULE_LAUNCH_COMPILE property is set to a custom launch script named custom_output.sh which needs to be added to the root of the CMake source tree:
CMake output can be customized by suppressing the standard messages produced by CMake and outputting a custom message in a launcher script instead. Add the following code to your outermost
CMakeLists.txt
:Setting the global RULE_MESSAGES property to
OFF
will suppress the standard messages. The global RULE_LAUNCH_COMPILE property is set to a custom launch script namedcustom_output.sh
which needs to be added to the root of the CMake source tree:The script's executable bit needs to be set.
The linker output can be customized in the same fashion by also setting a RULE_LAUNCH_LINK script.
This is not possible in the current version of
CMake
, without editing the source yourself. Of coursesed
andawk
will help you.