1 # please see common.cmake for more documentation
2 ###################################################################
3 # The values in this section must always be provided
4 ###################################################################
6 # this is the cvs module name that should be checked out
7 SET (CTEST_MODULE_NAME kwsys)
9 # these are the the name of the source and binary directory on disk.
10 # They will be appended to DASHBOARD_ROOT
11 SET (CTEST_SOURCE_NAME kwsys)
12 SET (CTEST_BINARY_NAME kwsysBin)
14 # which ctest command to use for running the dashboard
16 "\"${CTEST_EXECUTABLE_NAME}\" --version"
17 "\"${CTEST_EXECUTABLE_NAME}\" -D Experimental -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
20 # what cmake command to use for configuring this dashboard
21 GET_FILENAME_COMPONENT(CTEST_EXECUTABLE_PATH "${CTEST_EXECUTABLE_NAME}" PATH)
22 SET(CTEST_CMAKE_COMMAND "\"${CTEST_EXECUTABLE_PATH}/cmake\"")
24 MESSAGE("CTest executable: ${CTEST_EXECUTABLE_NAME}")
25 MESSAGE("CMake executable: ${CTEST_CMAKE_COMMAND}")
30 ####################################################################
31 # The values in this section are optional you can either
32 # have them or leave them commented out
33 ####################################################################
35 # should ctest wipe the binary tree before running
36 SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
38 # this is the initial cache to use for the binary tree, be careful to escape
39 # any quotes inside of this string if you use it
40 SET (CTEST_INITIAL_CACHE "
42 BUILDNAME:STRING=KWSys-@BUILDNAME@
43 CMAKE_GENERATOR:INTERNAL=@CMAKE_GENERATOR@
44 CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
45 CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
46 CMAKE_C_COMPILER:STRING=@CMAKE_C_COMPILER@
47 CMAKE_CXX_COMPILER:STRING=@CMAKE_CXX_COMPILER@
48 CMAKE_C_COMPILER_ARG1:STRING=@CMAKE_C_COMPILER_ARG1@
49 CMAKE_CXX_COMPILER_ARG1:STRING=@CMAKE_CXX_COMPILER_ARG1@
51 MEMORYCHECK_COMMAND:STRING=@MEMORYCHECK_COMMAND@
52 MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=@MEMORYCHECK_SUPPRESSIONS_FILE@
53 MEMORYCHECK_COMMAND_OPTIONS:STRING=@MEMORYCHECK_COMMAND_OPTIONS@
54 COVERAGE_COMMAND:FILEPATH=@COVERAGE_COMMAND@
56 # This one is needed for testing advanced ctest features
57 CTEST_TEST_KWSYS:BOOL=ON
60 # if you do not want to use the default location for a
61 # dashboard then set this variable to the directory
62 # the dashboard should be in
63 SET (CTEST_DASHBOARD_ROOT "@CMAKE_CURRENT_BINARY_DIR@/Tests/CTestTest")
66 # set any extra envionment varibles here
67 SET (CTEST_ENVIRONMENT
70 SET (CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Source/kwsys")
71 SET (CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTest/${CTEST_BINARY_NAME}")