CMake/Tests/CTestTest/test.cmake.in

60 lines
2.1 KiB
CMake
Raw Normal View History

2004-05-11 02:06:11 +04:00
# please see common.cmake for more documentation
###################################################################
# The values in this section must always be provided
###################################################################
# this is the cvs module name that should be checked out
2004-10-01 02:45:08 +04:00
SET (CTEST_MODULE_NAME kwsys)
2004-05-11 02:06:11 +04:00
# these are the the name of the source and binary directory on disk.
# They will be appended to DASHBOARD_ROOT
2004-10-01 02:45:08 +04:00
SET (CTEST_SOURCE_NAME kwsys)
SET (CTEST_BINARY_NAME kwsysBin)
2004-05-11 02:06:11 +04:00
# which ctest command to use for running the dashboard
SET (CTEST_COMMAND
2004-10-01 21:10:33 +04:00
"\"${CTEST_EXECUTABLE_NAME}\" -D Experimental -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
2004-05-11 02:06:11 +04:00
)
# what cmake command to use for configuring this dashboard
2004-10-01 21:10:33 +04:00
GET_FILENAME_COMPONENT(CTEST_EXECUTABLE_PATH "${CTEST_EXECUTABLE_NAME}" PATH)
SET(CTEST_CMAKE_COMMAND "\"${CTEST_EXECUTABLE_PATH}/cmake\"")
2004-10-01 21:10:33 +04:00
MESSAGE("CTest executable: ${CTEST_EXECUTABLE_NAME}")
MESSAGE("CMake executable: ${CTEST_CMAKE_COMMAND}")
2004-05-11 02:06:11 +04:00
####################################################################
# The values in this section are optional you can either
# have them or leave them commented out
####################################################################
# should ctest wipe the binary tree before running
SET (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
SET (CTEST_INITIAL_CACHE "
2004-10-01 02:45:08 +04:00
SITE:STRING=@SITE@
2004-10-04 16:06:30 +04:00
BUILDNAME:STRING=KWSys-@BUILDNAME@
2004-10-01 02:45:08 +04:00
CMAKE_GENERATOR:INTERNAL=@CMAKE_GENERATOR@
2004-05-11 02:06:11 +04:00
CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
DART_ROOT:PATH=
MAKECOMMAND:FILEPATH=@MAKECOMMAND@
MEMORYCHECK_COMMAND:STRING=
")
# if you do not want to use the default location for a
# dashboard then set this variable to the directory
# the dashboard should be in
2004-10-01 02:45:08 +04:00
SET (CTEST_DASHBOARD_ROOT "@CMAKE_CURRENT_BINARY_DIR@/Tests/CTestTest")
2004-05-11 02:06:11 +04:00
# set any extra envionment varibles here
SET (CTEST_ENVIRONMENT
)
2004-10-01 02:45:08 +04:00
SET (CTEST_SOURCE_DIRECTORY "@CMAKE_ROOT@/Source/kwsys")
SET (CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTest/${CTEST_BINARY_NAME}")