You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
339 B
13 lines
339 B
cmake_minimum_required (VERSION 2.6)
|
|
project(CTestTestDepends)
|
|
include(CTest)
|
|
|
|
add_executable (simple simple.cxx)
|
|
add_test (one 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")
|