test.cmake.in 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # please see common.cmake for more documentation
  2. ###################################################################
  3. # The values in this section must always be provided
  4. ###################################################################
  5. # this is the cvs module name that should be checked out
  6. SET (CTEST_MODULE_NAME kwsys)
  7. # these are the the name of the source and binary directory on disk.
  8. # They will be appended to DASHBOARD_ROOT
  9. SET (CTEST_SOURCE_NAME kwsys)
  10. SET (CTEST_BINARY_NAME kwsysBin)
  11. # which ctest command to use for running the dashboard
  12. SET (CTEST_COMMAND
  13. "\"${CTEST_EXECUTABLE_NAME}\" -D Experimental -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
  14. )
  15. # what cmake command to use for configuring this dashboard
  16. GET_FILENAME_COMPONENT(CTEST_EXECUTABLE_PATH "${CTEST_EXECUTABLE_NAME}" PATH)
  17. SET(CTEST_CMAKE_COMMAND "\"${CTEST_EXECUTABLE_PATH}/cmake\"")
  18. MESSAGE("CTest executable: ${CTEST_EXECUTABLE_NAME}")
  19. MESSAGE("CMake executable: ${CTEST_CMAKE_COMMAND}")
  20. ####################################################################
  21. # The values in this section are optional you can either
  22. # have them or leave them commented out
  23. ####################################################################
  24. # should ctest wipe the binary tree before running
  25. SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
  26. # this is the initial cache to use for the binary tree, be careful to escape
  27. # any quotes inside of this string if you use it
  28. SET (CTEST_INITIAL_CACHE "
  29. SITE:STRING=@SITE@
  30. BUILDNAME:STRING=@BUILDNAME@-KWSys
  31. CMAKE_GENERATOR:INTERNAL=@CMAKE_GENERATOR@
  32. CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
  33. CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
  34. DART_ROOT:PATH=
  35. MAKECOMMAND:FILEPATH=@MAKECOMMAND@
  36. MEMORYCHECK_COMMAND:STRING=
  37. ")
  38. # if you do not want to use the default location for a
  39. # dashboard then set this variable to the directory
  40. # the dashboard should be in
  41. SET (CTEST_DASHBOARD_ROOT "@CMAKE_CURRENT_BINARY_DIR@/Tests/CTestTest")
  42. # set any extra envionment varibles here
  43. SET (CTEST_ENVIRONMENT
  44. )
  45. SET (CTEST_SOURCE_DIRECTORY "@CMAKE_ROOT@/Source/kwsys")
  46. SET (CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTest/${CTEST_BINARY_NAME}")