Debian Codegraph @

Tests/RunCMake/execute_process/LastCommandAbnormalExit-2.cmake

raw
1 execute_process(COMMAND ${CMAKE_COMMAND} -E true
2 COMMAND "${EXIT_CRASH_EXE}"
3 RESULT_VARIABLE result
4 )
5
6 if(NOT result EQUAL "0")
7 execute_process(COMMAND ${CMAKE_COMMAND} -E true
8 COMMAND "${EXIT_CRASH_EXE}"
9 COMMAND_ERROR_IS_FATAL LAST
10 )
11 endif()