mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-03 12:19:41 -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
277 B
ReStructuredText
7 lines
277 B
ReStructuredText
add-execute_process-command-echo
|
|
--------------------------------
|
|
|
|
* The :command:`execute_process` command gained a `COMMAND_ECHO` option
|
|
and supporting :variable:`CMAKE_EXECUTE_PROCESS_COMMAND_ECHO` variable
|
|
to enable echoing of the command-line string before execution.
|