CMake/Tests/CTestTestScheduler/CMakeLists.txt

10 lines
212 B
CMake
Raw Normal View History

CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
PROJECT (CTestTestScheduler)
INCLUDE (CTest)
ADD_EXECUTABLE (Sleep sleep.c)
FOREACH (time RANGE 1 5)
ADD_TEST (TestSleep${time} Sleep ${time})
ENDFOREACH (time RANGE 1 5)