]> Creatis software - creaTools.git/blobdiff - CMakeLists.txt
#2472 CreaTools Bug New Normal Add in the windows Instaler creaVtk library
[creaTools.git] / CMakeLists.txt
index b4e50b5021959c27eada6d5e2dbd7b85faab707d..2be06facaf30a6bbdf441e024ca5fd30baee8e17 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 1)
+SET(PROJECT_MINOR_VERSION 4)
+SET(PROJECT_BUILD_VERSION 0)
 #==================================
 
 # JPR 4 mars 2011
@@ -123,4 +136,4 @@ TODAY(CREATOOLS_COMPILATION_DATE)
 #ADD_SUBDIRECTORY(lib)
 ADD_SUBDIRECTORY(install)
 #==================================
-#==================================
\ No newline at end of file
+#==================================