Commit c895c377 authored by jcfr's avatar jcfr
Browse files

COMP: Remove obsolete "Slicer3SampleBuildTest.cmake" file

git-svn-id: http://svn.slicer.org/Slicer4/trunk@16188 3bd1e089-480b-0410-8dfb-8563597acbee
parent c75b5881
#
# This is a recommended file for Slicer3 dashboard submissions
# The generated file will use the current settings in the CMakeCache.txt file
# The file should be copied, edited if necessary and moved to another location
#
# This file was generated from
# @Slicer_SOURCE_DIR@/CMake/Slicer3SampleBuildTest.cmake
#
######################
# Set the Dashboard to one of Nightly, Continuous or Experimental
#
SET(DASHBOARD Nightly)
SET(DASHBOARD Continuous)
SET(DASHBOARD Experimental)
######################
# Set the Default Build Type to one of Release, Debug, RelWithDebInfo
# or MinSizeRel
#
SET(DEFAULT_BUILD_TYPE "Debug")
SET(DEFAULT_BUILD_TYPE "RelWithDebInfo")
SET(DEFAULT_BUILD_TYPE "MinSizeRel")
SET(DEFAULT_BUILD_TYPE "Release")
IF("@CMAKE_BUILD_TYPE@" STREQUAL "")
SET(BUILD_TYPE ${DEFAULT_BUILD_TYPE})
ELSE("@CMAKE_BUILD_TYPE@" STREQUAL "")
SET(BUILD_TYPE @CMAKE_BUILD_TYPE@)
ENDIF("@CMAKE_BUILD_TYPE@" STREQUAL "")
# These are the the locations of the source and binary directory
SET(CTEST_SOURCE_DIRECTORY "@Slicer_SOURCE_DIR@")
SET(CTEST_BINARY_DIRECTORY "@Slicer_BINARY_DIR@")
# The ctest command to use for running the dashboard
SET(CTEST_COMMAND
"@CMAKE_COMMAND@ -P \"${CTEST_BINARY_DIRECTORY}/CMake/RemoveTemporaryFiles.cmake\""
"@CMAKE_CTEST_COMMAND@ -D ${DASHBOARD} -A \"${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}\""
)
# CMake/RemoveTemporaryFiles.cmake must exist before the CTEST_COMMAND runs
IF(NOT EXISTS ${CTEST_BINARY_DIRECTORY}/CMake/RemoveTemporaryFiles.cmake)
SET(CTEST_CMAKE_COMMAND "@CMAKE_COMMAND@")
ENDIF(NOT EXISTS ${CTEST_BINARY_DIRECTORY}/CMake/RemoveTemporaryFiles.cmake)
# CMakeCache.txt must exist before the CTEST_COMMAND runs
IF(NOT EXISTS ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt)
SET(CTEST_CMAKE_COMMAND "@CMAKE_COMMAND@")
ENDIF(NOT EXISTS ${CTEST_BINARY_DIRECTORY}/CMakeCache.txt)
# Specify how long to run the continuous in minutes
IF(${DASHBOARD} STREQUAL "Continuous")
SET (CTEST_CONTINUOUS_DURATION 1080)
SET (CTEST_CONTINUOUS_MINIMUM_INTERVAL 15)
ENDIF(${DASHBOARD} STREQUAL "Continuous")
# Set defaults
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY FALSE)
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY_ONCE FALSE)
# For Nightly builds, this should be TRUE
IF(${DASHBOARD} STREQUAL "Nightly")
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY TRUE)
ELSE(${DASHBOARD} STREQUAL "Nightly")
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY FALSE)
ENDIF(${DASHBOARD} STREQUAL "Nightly")
# For Continuous builds. this should be TRUE
IF(${DASHBOARD} STREQUAL "Continuous")
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY_ONCE TRUE)
ELSE(${DASHBOARD} STREQUAL "Continuous")
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY_ONCE FALSE)
ENDIF(${DASHBOARD} STREQUAL "Continuous")
# For Experimental builds, these should be FALSE
IF(${DASHBOARD} STREQUAL "Experimental")
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY FALSE)
SET(CTEST_START_WITH_EMPTY_BINARY_DIRECTORY_ONCE FALSE)
ENDIF(${DASHBOARD} STREQUAL "Experimental")
# 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 "
SITE:STRING=@SITE@
BUILDNAME:STRING=@BUILDNAME@
CVSCOMMAND:FILEPATH=@CVSCOMMAND@
CVS_UPDATE_OPTIONS:STRING=-d -A -P
CMAKE_C_FLAGS_RELEASE:STRING=@CMAKE_C_FLAGS_RELEASE@
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=@CMAKE_C_FLAGS_RELWITHDEBINFO@
CMAKE_CXX_FLAGS_RELEASE:STRING=@CMAKE_CXX_FLAGS_RELEASE@
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=@CMAKE_CXX_FLAGS_RELWITHDEBINFO@
CMAKE_BUILD_TOOL:INTERNAL=@CMAKE_BUILD_TOOL@
CMAKE_MAKE_PROGRAM:FILEPATH=@CMAKE_MAKE_PROGRAM@
CMAKE_GENERATOR:INTERNAL=@CMAKE_GENERATOR@
CMAKE_CXX_COMPILER:FILEPATH=@CMAKE_CXX_COMPILER@
CMAKE_CXX_FLAGS:STRING=@CMAKE_CXX_FLAGS@
CMAKE_C_COMPILER:FILEPATH=@CMAKE_C_COMPILER@
CMAKE_C_FLAGS:STRING=@CMAKE_C_FLAGS@
CMAKE_CONFIGURATION_TYPES:STRING=${BUILD_TYPE}
CMAKE_BUILD_TYPE:STRING=${BUILD_TYPE}
BUILD_SHARED_LIBS:BOOL=@BUILD_SHARED_LIBS@
BUILD_TESTING:BOOL=@BUILD_TESTING@
BUILD_EXAMPLES:BOOL=@BUILD_EXAMPLES@
Slicer_BUILD_CLI:BOOL=@Slicer_BUILD_CLI@
Slicer_BUILD_MODULES:BOOL=@Slicer_BUILD_MODULES@
Slicer_BUILD_QTLOADABLEMODULES:BOOL=@Slicer_BUILD_QTLOADABLEMODULES@
Slicer_BUILD_WIN32_CONSOLE:BOOL=@Slicer_BUILD_WIN32_CONSOLE@
Slicer_USE_BatchMake:BOOL=@Slicer_USE_BatchMake@
Slicer_USE_IGSTK:BOOL=@Slicer_USE_IGSTK@
Slicer_USE_MIDAS:BOOL=@Slicer_USE_MIDAS@
Slicer_USE_NAVITRACK:BOOL=@Slicer_USE_NAVITRACK@
Slicer_USE_PYTHON:BOOL=@Slicer_USE_PYTHON@
Teem_DIR:PATH=@Teem_DIR@
SLICERLIBCURL_DIR:PATH=@SLICERLIBCURL_DIR@
ITK_DIR:PATH=@ITK_DIR@
")
# Set any extra envionment variables here
SET (CTEST_ENVIRONMENT
"DISPLAY=:0"
)
......@@ -412,11 +412,6 @@ IF(BUILD_TESTING)
${Slicer_BINARY_DIR}/CMake/RemoveTemporaryFiles.cmake
@ONLY)
CONFIGURE_FILE(
${Slicer_SOURCE_DIR}/CMake/Slicer3SampleBuildTest.cmake.in
${Slicer_BINARY_DIR}/CMake/Slicer3SampleBuildTest.cmake
@ONLY)
ENDIF()
#-----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment