summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja/SubDir.cmake
blob: 11f467a4be7df7280220551b9d5ea728f391901a (plain)
1
2
3
4
5
6
7
8
include(CTest)
add_subdirectory(SubDir)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/SubDirSource SubDirBinary)
add_custom_target(TopFail ALL COMMAND does_not_exist)
add_test(NAME TopTest COMMAND ${CMAKE_COMMAND} -E echo "Running TopTest")
install(CODE [[
  message(FATAL_ERROR "Installing Top")
]])