X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=2d988cbfd810aee5d93fa90c682d94fb33ae2e67;hb=ffe082cfc10dbb2c326c513563286caa2606110f;hp=366cbc493bb3e330b78322c00af81bf2f5e1411f;hpb=a26195c366a89795288009cf7e20f11afa494970;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 366cbc4..2d988cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- @@ -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) +#----------------------------------------------------------------------------- +