PROJECT(BBTK)
#-----------------------------------------------------------------------------
-#-----------------------------------------------------------------------------
-# 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} )
-#-----------------------------------------------------------------------------
-
#-----------------------------------------------------------------------------
# Set global configuration of the toolkit
-INCLUDE(cmake/BBTKGlobalConfiguration.cmake)
+INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
-# The "standard" packages
+# The "core" packages
SUBDIRS(packages)
#-----------------------------------------------------------------------------
--- /dev/null
+#-----------------------------------------------------------------------------
+SET(BBTK_CMAKE_REL_PATH kernel/cmake)
+SET(BBTK_CMAKE_DIR ${PROJECT_SOURCE_DIR}/${BBTK_CMAKE_REL_PATH})
+#-----------------------------------------------------------------------------
+
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKVersion.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKMacros.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKKernelConfig.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKSetDeducedPaths.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKPreventInSourceBuild.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKBuildAllOption.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKMarkAsAdvanced.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKFindLibraries.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKDefineOptions.cmake)
+#----------------------------------------------------------------------------
+INCLUDE(${BBTK_CMAKE_DIR}/BBTKAddDefinitions.cmake)
+#----------------------------------------------------------------------------
--- /dev/null
+#-----------------------------------------------------------------------------
+# BBTK version number
+SET(BBTK_MAJOR_VERSION 1)
+SET(BBTK_MINOR_VERSION 0)
+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} )
+#-----------------------------------------------------------------------------