]> Creatis software - bbtk.git/blobdiff - CMakeLists.txt
in 50 % of the scripts, LoadHola was called an 'image' in 50 % a 'reader'.
[bbtk.git] / CMakeLists.txt
index 366cbc493bb3e330b78322c00af81bf2f5e1411f..d7889c1852fc6d5a5f9658ad2f3389a0f0e7ed06 100644 (file)
@@ -1,21 +1,14 @@
 #-----------------------------------------------------------------------------
-PROJECT(BBTK) 
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
-# BBTK version number
-SET(BBTK_MAJOR_VERSION 0)
-SET(BBTK_MINOR_VERSION 5)
-SET(BBTK_BUILD_VERSION 0)
-SET(BBTK_VERSION 
-  "${BBTK_MAJOR_VERSION}.${BBTK_MINOR_VERSION}.${BBTK_BUILD_VERSION}")
-# Now in bbtkConfigure.h file (cf. core/src)
-#ADD_DEFINITIONS( -DBBTK_VERSION=${BBTK_VERSION} )
+PROJECT(bbtk) 
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
 # Set global configuration of the toolkit
-INCLUDE(cmake/BBTKGlobalConfiguration.cmake)
+INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE )
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
@@ -24,6 +17,15 @@ SUBDIRS(kernel)
 #-----------------------------------------------------------------------------
 
 #-----------------------------------------------------------------------------
-# The "standard" packages 
+# The "core" packages 
 SUBDIRS(packages)
 #-----------------------------------------------------------------------------
+
+#-----------------------------------------------------------------------------
+# The samples
+#OPTION(BUILD_BBTK_SAMPLES "Build bbtk samples" OFF)
+#IF(BUILD_BBTK_SAMPLES)
+#  SUBDIRS(samples)
+#ENDIF(BUILD_BBTK_SAMPLES)
+#-----------------------------------------------------------------------------
+