Files
CMake/Help/variable/CMAKE_EXECUTE_PROCESS_COMMAND_ECHO.rst
Bill Hoffman 044dcf9f8d execute_process: Add option to echo command lines
Add COMMAND_ECHO option to the execute_process command. This will allow
execute_process to show the command it will run. Also add a cmake variable
CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can
be set to one of the following: STDERR|STDOUT|NONE. The command will be
printed to stderr or stdout or not at all.

Fixes: #18933
2019-04-19 13:32:08 -04:00

7 lines
237 B
ReStructuredText

CMAKE_EXECUTE_PROCESS_COMMAND_ECHO
----------------------------------
If this variable is set to ``STDERR``|``STDOUT``|``NONE`` then commands in
:command:`execute_process` calls will be printed to either stderr or stdout
or not at all.