ENH: Enabling the lines that configure testing for the Dashboard.

This commit is contained in:
Luis Ibanez 2010-05-26 23:16:15 +00:00
parent 576f380eba
commit 40c092bbc3
1 changed files with 13 additions and 9 deletions

View File

@ -16,6 +16,10 @@ ENDIF(NOT OPENJPEG_NAMESPACE)
# In all cases: # In all cases:
STRING(TOLOWER ${OPENJPEG_NAMESPACE} OPENJPEG_LIBRARY_NAME) STRING(TOLOWER ${OPENJPEG_NAMESPACE} OPENJPEG_LIBRARY_NAME)
IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
PROJECT(${OPENJPEG_NAMESPACE} C) PROJECT(${OPENJPEG_NAMESPACE} C)
# Do full dependency headers. # Do full dependency headers.
@ -107,15 +111,15 @@ ENDIF(BUILD_DOCUMENTATION)
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# For openjpeg team if they ever want Dart+CMake # For openjpeg team if they ever want Dart+CMake
#IF(OPENJPEG_STANDALONE) IF(OPENJPEG_STANDALONE)
# INCLUDE(Dart) INCLUDE(CTest)
# MARK_AS_ADVANCED(BUILD_TESTING DART_ROOT TCL_TCLSH) #MARK_AS_ADVANCED(BUILD_TESTING DART_ROOT TCL_TCLSH)
# IF(BUILD_TESTING) IF(BUILD_TESTING)
# ENABLE_TESTING() ENABLE_TESTING()
# SET(BUILDNAME "OpenJPEG-${CMAKE_SYSTEM}-${CMAKE_C_COMPILER}" CACHE STRING "Name of build on the dashboard") SET(BUILDNAME "OpenJPEG-${CMAKE_SYSTEM}-${CMAKE_C_COMPILER}" CACHE STRING "Name of build on the dashboard")
# MARK_AS_ADVANCED(BUILDNAME) MARK_AS_ADVANCED(BUILDNAME)
# ENDIF(BUILD_TESTING) ENDIF(BUILD_TESTING)
#ENDIF(OPENJPEG_STANDALONE) ENDIF(OPENJPEG_STANDALONE)
# Adding test with dataset from: # Adding test with dataset from:
# http://www.crc.ricoh.com/~gormish/jpeg2000conformance/ # http://www.crc.ricoh.com/~gormish/jpeg2000conformance/