added "-DENABLE_MINIMAL_CMAKE_TESTING=TRUE" by default and removed default setting ENABLE_CMAKE_TESTING=TRUE

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1166 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
legrand 2008-03-18 12:49:08 +00:00
commit 13e089e30e
2 changed files with 13 additions and 20 deletions

View file

@ -93,11 +93,9 @@ ENDIF(CMAKE_BUILD_TYPE MATCHES Debug)
#SET(ENABLE_CMAKE_TESTING TRUE CACHE BOOL "Enable testing ?")
IF (ENABLE_CMAKE_TESTING)
ENABLE_TESTING()
SET(BUILDNAME "${CMAKE_PROJECT_NAME}-${CMAKE_SYSTEM}-${CMAKE_CXX_COMPILER}" CACHE STRING "Name of the build on the dashboard" FORCE)
MARK_AS_ADVANCED(BUILDNAME)
ENDIF (ENABLE_CMAKE_TESTING)
IF (ENABLE_CMAKE_TESTING OR ENABLE_MINIMAL_CMAKE_TESTING)
ENABLE_TESTING()
ENDIF (ENABLE_CMAKE_TESTING OR ENABLE_MINIMAL_CMAKE_TESTING)
######################################################################################