2016-08-05 22:55:32 +03:00
|
|
|
include(CTest)
|
2016-03-18 17:52:37 +03:00
|
|
|
add_subdirectory(SubDir)
|
2016-10-23 19:58:28 +03:00
|
|
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/SubDirSource SubDirBinary)
|
2016-03-18 17:52:37 +03:00
|
|
|
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")
|
|
|
|
]])
|