2016-08-05 22:55:32 +03:00
|
|
|
include(CTest)
|
2016-03-18 17:52:37 +03:00
|
|
|
add_subdirectory(SubDir)
|
|
|
|
add_custom_target(TopFail ALL COMMAND does_not_exist)
|
2016-08-05 22:55:32 +03:00
|
|
|
add_test(NAME TopTest COMMAND ${CMAKE_COMMAND} -E echo "Running TopTest")
|
|
|
|
install(CODE [[
|
|
|
|
message(FATAL_ERROR "Installing Top")
|
|
|
|
]])
|