cmake/Tests/RunCMake/Ninja/SubDir.cmake

8 lines
228 B
CMake
Raw Normal View History

2016-10-30 18:24:19 +01:00
include(CTest)
2016-07-09 11:21:54 +02:00
add_subdirectory(SubDir)
add_custom_target(TopFail ALL COMMAND does_not_exist)
2016-10-30 18:24:19 +01:00
add_test(NAME TopTest COMMAND ${CMAKE_COMMAND} -E echo "Running TopTest")
install(CODE [[
message(FATAL_ERROR "Installing Top")
]])