diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2019-03-29 16:39:44 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-04-19 13:32:08 -0400 |
commit | 044dcf9f8d2bfb10825627f7e18456a1679d5ab6 (patch) | |
tree | a2c2df82303d742a00d1fd7a8fa3609e3b6e5eff /Tests/RunCMake/execute_process/EchoCommand3-stderr.txt | |
parent | d350fb688954f476d8df79bf582cf366b5861dd2 (diff) | |
download | cmake-044dcf9f8d2bfb10825627f7e18456a1679d5ab6.tar.gz |
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
Diffstat (limited to 'Tests/RunCMake/execute_process/EchoCommand3-stderr.txt')
-rw-r--r-- | Tests/RunCMake/execute_process/EchoCommand3-stderr.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/execute_process/EchoCommand3-stderr.txt b/Tests/RunCMake/execute_process/EchoCommand3-stderr.txt new file mode 100644 index 0000000000..e27f1e6d25 --- /dev/null +++ b/Tests/RunCMake/execute_process/EchoCommand3-stderr.txt @@ -0,0 +1,2 @@ +CMake Error at .*EchoCommand.cmake:.*\(execute_process\): + execute_process called with no value for COMMAND_ECHO. |