]> Creatis software - creaTools.git/blobdiff - CMakeLists.txt
new version 2.2.6
[creaTools.git] / CMakeLists.txt
index 0ded06abd846f89d883fc8ff5d4c3f69614e558c..5ee647bb89e767233bcdde60d18fcb9aae46dcbf 100644 (file)
@@ -27,11 +27,24 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 PROJECT(CreaTools)
 ###################################
 
+#-----------------------------------------------------------------------------
+# Configure Dart testing support.  This should be done before any
+# MESSAGE(FATAL_ERROR ...) commands are invoked.
+IF(INCLUDE_CTEST)
+  INCLUDE(CTest)
+  ENABLE_TESTING()
+ENDIF(INCLUDE_CTEST)
+IF(BUILD_TESTING)
+  SET(BUILDNAME "${BUILDNAME}" CACHE STRING "Name of build on the dashboard")
+  MARK_AS_ADVANCED(BUILDNAME)
+ENDIF(BUILD_TESTING)
+#-----------------------------------------------------------------------------
+
 #==================================
 # The project version
 SET(PROJECT_MAJOR_VERSION 2)
 SET(PROJECT_MINOR_VERSION 2)
-SET(PROJECT_BUILD_VERSION 5)
+SET(PROJECT_BUILD_VERSION 6)
 #==================================
 
 # JPR 4 mars 2011