CTestScript.cmake.in 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. cmake_minimum_required(VERSION 2.4)
  2. # This is a template for the CTest script for this system
  3. set(CTEST_SITE "@SITE@")
  4. set(CTEST_BUILD_NAME "@BUILDNAME@")
  5. # ---
  6. set(CTEST_SOURCE_DIRECTORY "@CMAKE_SOURCE_DIR@")
  7. set(CTEST_BINARY_DIRECTORY "@CMAKE_BINARY_DIR@")
  8. set(CTEST_UPDATE_COMMAND "@UPDATE_COMMAND@")
  9. set(CTEST_UPDATE_OPTIONS "@UPDATE_OPTIONS@")
  10. set(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@")
  11. set(CTEST_BUILD_CONFIGURATION "Release")
  12. #set(CTEST_MEMORYCHECK_COMMAND "@MEMORYCHECK_COMMAND@")
  13. #set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE "@MEMORYCHECK_SUPPRESSIONS_FILE@")
  14. #set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "@MEMORYCHECK_COMMAND_OPTIONS@")
  15. #set(CTEST_COVERAGE_COMMAND "@COVERAGE_COMMAND@")
  16. set(CTEST_NOTES_FILES "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")
  17. #CTEST_EMPTY_BINARY_DIRECTORY(${CTEST_BINARY_DIRECTORY})
  18. set(CTEST_DROP_METHOD "@DROP_METHOD@")
  19. CTEST_START(Experimental TRACK Weekly)
  20. CTEST_UPDATE(SOURCE "${CTEST_SOURCE_DIRECTORY}")
  21. CTEST_CONFIGURE(BUILD "${CTEST_BINARY_DIRECTORY}")
  22. CTEST_READ_CUSTOM_FILES("${CTEST_BINARY_DIRECTORY}")
  23. CTEST_BUILD(BUILD "${CTEST_BINARY_DIRECTORY}")
  24. CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}")
  25. #CTEST_MEMCHECK(BUILD "${CTEST_BINARY_DIRECTORY}")
  26. #CTEST_COVERAGE(BUILD "${CTEST_BINARY_DIRECTORY}")
  27. CTEST_SUBMIT()