#-----------------------------------------------------------------------------
-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 )
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
-# 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)
+#-----------------------------------------------------------------------------
+