CMake/Tests/CTestTestSubdir/CMakeLists.txt

12 lines
296 B
CMake
Raw Normal View History

2009-10-28 19:17:18 +03:00
cmake_minimum_required (VERSION 2.6)
PROJECT(CTestTestSubdir)
SET(DART_ROOT "" CACHE STRING "" FORCE)
ENABLE_TESTING()
INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
GET_FILENAME_COMPONENT(CTEST_COMMAND "${CMAKE_COMMAND}" PATH)
SET(CTEST_COMMAND "${CTEST_COMMAND}/ctest")
ADD_SUBDIRECTORY(subdir)