Revision 72eaeb41f5c0ba7dd4a3a4fa562fcd057fb68332 authored by Joachim Wuttke (o) on 12 February 2020, 12:07:31 UTC, committed by Joachim Wuttke (o) on 12 February 2020, 12:22:51 UTC
Besides CPackConfig.cmake, the module also generates CPackSourceConfig.cmake.
1 parent c35a9ff
Raw File
CMakeLists.txt
cmake_minimum_required (VERSION 2.6)
project(CTestTestDepends)
include(CTest)

add_executable (simple simple.cxx)
add_executable (TestExe::Simple ALIAS simple)
add_test (NAME one COMMAND TestExe::Simple)
add_test (two simple)
add_test (three simple)

# Add redundant (but not cyclical) dependencies
set_tests_properties(two PROPERTIES DEPENDS "one")
set_tests_properties(three PROPERTIES DEPENDS "one;two")
back to top