1 set(t4_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t4\"")
2 exec_program("${t4_name}" RETURN_VALUE "t4_var")
3 message("T4 ${t4_name} resulted ${t4_var}")
5 set(t9_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t9\"")
6 exec_program("${t9_name}" RETURN_VALUE "t9_var")
7 message("T9 ${t9_name} resulted ${t9_var}")
9 if ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )
10 message("Everything is good, Yoshimi won...")
11 else ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )
12 message(FATAL_ERROR "Yoshimi lost... The evil pink robots will take over the world")
13 endif ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )