CMakeLists.txt 325 B

1234567891011
  1. PROJECT(CTestTest)
  2. SET(DART_ROOT "" CACHE STRING "" FORCE)
  3. ENABLE_TESTING()
  4. INCLUDE (${CMAKE_ROOT}/Modules/Dart.cmake)
  5. GET_FILENAME_COMPONENT(CTEST_COMMAND "${CMAKE_COMMAND}" PATH)
  6. SET(CTEST_COMMAND "${CTEST_COMMAND}/ctest")
  7. CONFIGURE_FILE(${CTestTest_SOURCE_DIR}/test.cmake.in
  8. ${CTestTest_BINARY_DIR}/test.cmake @ONLY)