2004-05-10 22:06:11 +00: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
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_MODULE_NAME SmallAndFast)
|
2004-05-10 22:06:11 +00:00
|
|
|
|
2014-01-02 17:52:18 +00:00
|
|
|
# these are the name of the source and binary directory on disk.
|
2004-05-10 22:06:11 +00:00
|
|
|
# They will be appended to DASHBOARD_ROOT
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_SOURCE_NAME SmallAndFast)
|
|
|
|
set (CTEST_BINARY_NAME SmallAndFastBuild)
|
2004-05-10 22:06:11 +00:00
|
|
|
|
|
|
|
# which ctest command to use for running the dashboard
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_COMMAND
|
2004-10-19 17:25:30 +00:00
|
|
|
"\"${CTEST_EXECUTABLE_NAME}\" --version"
|
2004-10-01 17:10:33 +00:00
|
|
|
"\"${CTEST_EXECUTABLE_NAME}\" -D Experimental -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
|
2004-05-10 22:06:11 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# what cmake command to use for configuring this dashboard
|
2012-08-13 17:47:32 +00:00
|
|
|
get_filename_component(CTEST_EXECUTABLE_PATH "${CTEST_EXECUTABLE_NAME}" PATH)
|
|
|
|
set(CTEST_CMAKE_COMMAND "\"${CTEST_EXECUTABLE_PATH}/cmake\"")
|
2004-10-01 17:10:33 +00:00
|
|
|
|
2012-08-13 17:47:32 +00:00
|
|
|
message("CTest executable: ${CTEST_EXECUTABLE_NAME}")
|
|
|
|
message("CMake executable: ${CTEST_CMAKE_COMMAND}")
|
2004-05-10 22:06:11 +00:00
|
|
|
|
2009-10-08 16:17:03 +00:00
|
|
|
CTEST_SLEEP(1)
|
|
|
|
CTEST_SLEEP(1 1 1)
|
2004-05-10 22:06:11 +00: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
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
|
2004-05-10 22:06:11 +00:00
|
|
|
|
|
|
|
# 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
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_INITIAL_CACHE "
|
2004-09-30 22:45:08 +00:00
|
|
|
SITE:STRING=@SITE@
|
2009-10-08 16:17:03 +00:00
|
|
|
BUILDNAME:STRING=SmallAndFast-@BUILDNAME@
|
2004-09-30 22:45:08 +00:00
|
|
|
CMAKE_GENERATOR:INTERNAL=@CMAKE_GENERATOR@
|
2014-09-05 19:40:01 +00:00
|
|
|
CMAKE_GENERATOR_PLATFORM:INTERNAL=@CMAKE_GENERATOR_PLATFORM@
|
2013-02-05 21:10:36 +00:00
|
|
|
CMAKE_GENERATOR_TOOLSET:INTERNAL=@CMAKE_GENERATOR_TOOLSET@
|
2004-05-10 22:06:11 +00:00
|
|
|
CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
|
|
|
|
CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
|
2004-10-17 23:02:11 +00:00
|
|
|
CMAKE_C_COMPILER:STRING=@CMAKE_C_COMPILER@
|
|
|
|
CMAKE_CXX_COMPILER:STRING=@CMAKE_CXX_COMPILER@
|
2005-08-02 14:07:30 +00:00
|
|
|
CMAKE_C_COMPILER_ARG1:STRING=@CMAKE_C_COMPILER_ARG1@
|
|
|
|
CMAKE_CXX_COMPILER_ARG1:STRING=@CMAKE_CXX_COMPILER_ARG1@
|
2004-05-10 22:06:11 +00:00
|
|
|
DART_ROOT:PATH=
|
2004-10-17 22:50:18 +00:00
|
|
|
MEMORYCHECK_COMMAND:STRING=@MEMORYCHECK_COMMAND@
|
2004-10-17 23:02:11 +00:00
|
|
|
MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=@MEMORYCHECK_SUPPRESSIONS_FILE@
|
|
|
|
MEMORYCHECK_COMMAND_OPTIONS:STRING=@MEMORYCHECK_COMMAND_OPTIONS@
|
2004-10-17 22:50:18 +00:00
|
|
|
COVERAGE_COMMAND:FILEPATH=@COVERAGE_COMMAND@
|
2004-05-10 22:06:11 +00:00
|
|
|
")
|
|
|
|
|
2012-08-13 17:42:58 +00:00
|
|
|
# if you do not want to use the default location for a
|
2004-05-10 22:06:11 +00:00
|
|
|
# dashboard then set this variable to the directory
|
|
|
|
# the dashboard should be in
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_DASHBOARD_ROOT "@CMAKE_CURRENT_BINARY_DIR@/Tests/CTestTest")
|
2004-05-10 22:06:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
# set any extra envionment varibles here
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_ENVIRONMENT
|
2004-05-10 22:06:11 +00:00
|
|
|
)
|
|
|
|
|
2012-08-13 17:47:32 +00:00
|
|
|
set (CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Tests/CTestTest/SmallAndFast")
|
|
|
|
set (CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTest/${CTEST_BINARY_NAME}")
|