mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
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
7 lines
237 B
ReStructuredText
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.
|