]> Creatis software - bbtk.git/blobdiff - CMakeLists.txt
#2536 BBTK Feature New Normal wt-version Package
[bbtk.git] / CMakeLists.txt
index 98852157a683342752b5cee6d0070f87433ccd9a..5ced062b2e308f24e41b48cd6f1b2548f90118b4 100644 (file)
@@ -37,6 +37,19 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
 PROJECT(bbtk) 
 #-----------------------------------------------------------------------------
 
+#-----------------------------------------------------------------------------
+# 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)
+#-----------------------------------------------------------------------------
+
 #-----------------------------------------------------------------------------
 # Set global configuration of the toolkit
 INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE )
@@ -69,6 +82,11 @@ ADD_SUBDIRECTORY(packages)
 #-----------------------------------------------------------------------------
 # The samples
 
+
+#----JFGA ---- Por default.
+SET(USE_WT OFF)
+
+
 # WARNING
 # Install the creaTools first
 # then build the 'samples' as a separate project