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