summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/execute_process/MergeOutputVars.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/execute_process/MergeOutputVars.cmake')
-rw-r--r--Tests/RunCMake/execute_process/MergeOutputVars.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/execute_process/MergeOutputVars.cmake b/Tests/RunCMake/execute_process/MergeOutputVars.cmake
new file mode 100644
index 0000000..3e7c69e
--- /dev/null
+++ b/Tests/RunCMake/execute_process/MergeOutputVars.cmake
@@ -0,0 +1,6 @@
+execute_process(
+ COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_LIST_DIR}/MergeOutput.cmake
+ OUTPUT_VARIABLE out
+ ERROR_VARIABLE out
+ )
+message("${out}")