diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-02-22 20:16:43 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-02-22 20:16:43 (GMT) |
commit | 8529efdd878bc838fb7463bf4cd83947a5775375 (patch) | |
tree | 6aa33a4eda73f2a67754272c9060e3d0a2690922 | |
parent | 1b2cf8c8dd2ea9440dc568c8ae7bf5e3f53f24f5 (diff) | |
download | CMake-8529efdd878bc838fb7463bf4cd83947a5775375.zip CMake-8529efdd878bc838fb7463bf4cd83947a5775375.tar.gz CMake-8529efdd878bc838fb7463bf4cd83947a5775375.tar.bz2 |
COMP: Use exec_program instead of execute_process
-rw-r--r-- | Tests/SimpleExclude/run.cmake.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Tests/SimpleExclude/run.cmake.in b/Tests/SimpleExclude/run.cmake.in index f6da7c1..ff0bbb5 100644 --- a/Tests/SimpleExclude/run.cmake.in +++ b/Tests/SimpleExclude/run.cmake.in @@ -1,11 +1,9 @@ set(t4_name "@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t4") -execute_process(COMMAND "${t4_name}" - RESULT_VARIABLE "t4_var") +exec_program("${t4_name}" RETURN_VALUE "t4_var") message("T4 ${t4_name} resulted ${t4_var}") set(t9_name "@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t9") -execute_process(COMMAND "${t9_name}" - RESULT_VARIABLE "t9_var") +exec_program("${t9_name}" RETURN_VALUE "t9_var") message("T9 ${t9_name} resulted ${t9_var}") if ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" ) |