summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/execute_process/EchoVariableOutput.cmake
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-02-21 14:20:45 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2020-02-24 13:44:14 (GMT)
commit6ec274b00254977061b114489782910e02fc5343 (patch)
tree8af7e1450eb5c2187a6f6f21f023bd6a5413bb92 /Tests/RunCMake/execute_process/EchoVariableOutput.cmake
parent25ca8e5ce5019c0fb8648f7408b864add6b19d83 (diff)
downloadCMake-6ec274b00254977061b114489782910e02fc5343.zip
CMake-6ec274b00254977061b114489782910e02fc5343.tar.gz
CMake-6ec274b00254977061b114489782910e02fc5343.tar.bz2
execute_process: Add ECHO_(OUTPUT|ERROR)_VARIABLE options
Fixes: #20378
Diffstat (limited to 'Tests/RunCMake/execute_process/EchoVariableOutput.cmake')
-rw-r--r--Tests/RunCMake/execute_process/EchoVariableOutput.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/execute_process/EchoVariableOutput.cmake b/Tests/RunCMake/execute_process/EchoVariableOutput.cmake
new file mode 100644
index 0000000..e636567
--- /dev/null
+++ b/Tests/RunCMake/execute_process/EchoVariableOutput.cmake
@@ -0,0 +1,2 @@
+message(STATUS "Text to stdout")
+message(FATAL_ERROR "Text to stderr")