]> Creatis software - creaBruker.git/blobdiff - CMakeLists.txt
#3216 Doxygen OFF in CMake AND Boost clink errors
[creaBruker.git] / CMakeLists.txt
index 280f0bf9dbf9b9bf2a6218823dbfbeabeeea9665..76dee9d0d189abe4cfd10395cd83c715da3c1318 100644 (file)
@@ -49,6 +49,19 @@ ENDIF(COMMAND cmake_policy AND ${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_
 PROJECT(creaBruker)
 ###################################
 
+#-----------------------------------------------------------------------------
+# 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 1)
@@ -103,10 +116,6 @@ SET(USE_VTK       OFF)
 SET(USE_ITK       OFF)
 SET(USE_BOOST     ON)
 
-# Note : Set USE_DOXYGEN to ON
-#  if you think you will ask, some day,
-#  for Doxygen generation
-SET(USE_DOXYGEN   ON)
 
 # Note : Set USE_LATEX to ON, USE_TTH to ON
 #  if you think you will ask, some day,