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.

11 lines
230 B

cmake_minimum_required(VERSION 3.10)
project(CTestTestMissingDependsExe)
enable_testing()
add_test(test1 ${CMAKE_COMMAND} -E echo test)
add_test(test2 non-existent-command)
set_tests_properties(test1 PROPERTIES DEPENDS test2)