COMP: Use exec_program instead of execute_process
This commit is contained in:
parent
1b2cf8c8dd
commit
8529efdd87
@ -1,11 +1,9 @@
|
|||||||
set(t4_name "@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t4")
|
set(t4_name "@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t4")
|
||||||
execute_process(COMMAND "${t4_name}"
|
exec_program("${t4_name}" RETURN_VALUE "t4_var")
|
||||||
RESULT_VARIABLE "t4_var")
|
|
||||||
message("T4 ${t4_name} resulted ${t4_var}")
|
message("T4 ${t4_name} resulted ${t4_var}")
|
||||||
|
|
||||||
set(t9_name "@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t9")
|
set(t9_name "@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t9")
|
||||||
execute_process(COMMAND "${t9_name}"
|
exec_program("${t9_name}" RETURN_VALUE "t9_var")
|
||||||
RESULT_VARIABLE "t9_var")
|
|
||||||
message("T9 ${t9_name} resulted ${t9_var}")
|
message("T9 ${t9_name} resulted ${t9_var}")
|
||||||
|
|
||||||
if ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )
|
if ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user