2007-02-23 19:17:11 +03:00
|
|
|
set(t4_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t4\"")
|
2007-02-22 23:16:43 +03:00
|
|
|
exec_program("${t4_name}" RETURN_VALUE "t4_var")
|
2007-02-22 19:42:26 +03:00
|
|
|
message("T4 ${t4_name} resulted ${t4_var}")
|
|
|
|
|
2007-02-23 19:17:11 +03:00
|
|
|
set(t9_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t9\"")
|
2007-02-22 23:16:43 +03:00
|
|
|
exec_program("${t9_name}" RETURN_VALUE "t9_var")
|
2007-02-22 19:42:26 +03:00
|
|
|
message("T9 ${t9_name} resulted ${t9_var}")
|
|
|
|
|
|
|
|
if ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )
|
|
|
|
message("Everything is good, Yoshimi won...")
|
2012-08-13 21:50:14 +04:00
|
|
|
else ()
|
2007-02-22 19:42:26 +03:00
|
|
|
message(FATAL_ERROR "Yoshimi lost... The evil pink robots will take over the world")
|
2012-08-13 21:50:14 +04:00
|
|
|
endif ()
|