cmake/Tests/RunCMake/Configure/CustomTargetAfterError.cmake

4 lines
141 B
CMake
Raw Normal View History

2015-04-27 22:25:09 +02:00
message(SEND_ERROR "Error before add_custom_target")
add_custom_target(foo COMMAND echo)
message(SEND_ERROR "Error after add_custom_target")