ENH: Enabling the lines that configure testing for the Dashboard.
This commit is contained in:
parent
576f380eba
commit
40c092bbc3
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue