X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=fbb741f913a4ec364185111f0cef2d692eab2240;hb=bfec018393d08496c9bf366d94790f2cc5c9c686;hp=366cbc493bb3e330b78322c00af81bf2f5e1411f;hpb=a26195c366a89795288009cf7e20f11afa494970;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 366cbc4..fbb741f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,21 +1,21 @@ +#cmake_minimum_required(VERSION 2.4) +#if(COMMAND cmake_policy) + # UNCOMMENT the 3 lines 'cmake_policy(... + # If you are using cmake 2.6 + # We can test it automatically, no JP ? + #cmake_policy(SET CMP0000 OLD) + #cmake_policy(SET CMP0005 NEW) + #cmake_policy(SET CMP0003 NEW) + # endif(COMMAND cmake_policy) + #----------------------------------------------------------------------------- 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) #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- @@ -24,6 +24,7 @@ SUBDIRS(kernel) #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- -# The "standard" packages +# The "core" packages SUBDIRS(packages) #----------------------------------------------------------------------------- +