• Bill Hoffman's avatar
    execute_process: Add option to echo command lines · 044dcf9f
    Bill Hoffman authored
    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
    044dcf9f
Name
Last commit
Last update
..
CMakeLists.txt Loading commit data...
EchoCommand-result.txt Loading commit data...
EchoCommand-stderr.txt Loading commit data...
EchoCommand-stdout.txt Loading commit data...
EchoCommand.cmake Loading commit data...
EchoCommand2-result.txt Loading commit data...
EchoCommand2-stderr.txt Loading commit data...
EchoCommand2-stdout.txt Loading commit data...
EchoCommand3-result.txt Loading commit data...
EchoCommand3-stderr.txt Loading commit data...
Encoding.cmake Loading commit data...
EncodingMissing-result.txt Loading commit data...
EncodingMissing-stderr.txt Loading commit data...
EncodingMissing.cmake Loading commit data...
EncodingUTF-8-stderr.txt Loading commit data...
EncodingUTF8-stderr.txt Loading commit data...
ExitValues-stdout.txt Loading commit data...
ExitValues.cmake Loading commit data...
MergeOutput-stdout.txt Loading commit data...
MergeOutput.cmake Loading commit data...
MergeOutputFile-stderr.txt Loading commit data...
MergeOutputFile.cmake Loading commit data...
MergeOutputVars-stderr.txt Loading commit data...
MergeOutputVars.cmake Loading commit data...
RunCMakeTest.cmake Loading commit data...