Is this a bug?

 

 EXECUTE_PROCESS(

COMMAND badcmd_that_doesnt_exist

                                ERROR_VARIABLE ERROR

)

IF(ERROR)

MESSAGE(FATAL_ERROR "Error! Command doesn't exist.")

ENDIF(ERROR)

 

as the fatal_error is never raised.

 

If not, what's the canonical way of reliably determining whether the
process succeeded or failed?

 

Joe

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to