X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=1c1187598d4b4d56504a2ec033ad1c1f7e8b0c74;hb=03977143e9873f80df5f56b9e52d59816883372a;hp=a29f057e94f92969d2449431a994e042d965959c;hpb=30726c36c9b481a35a3ef0c9a7a72f7139280922;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index a29f057..1c11875 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,21 +1,14 @@ -#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) +CMAKE_MINIMUM_REQUIRED(VERSION 2.4) #----------------------------------------------------------------------------- +#----------------------------------------------------------------------------- +PROJECT(BBTK) +#----------------------------------------------------------------------------- #----------------------------------------------------------------------------- # Set global configuration of the toolkit -INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake) +INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE ) #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- @@ -28,3 +21,11 @@ SUBDIRS(kernel) SUBDIRS(packages) #----------------------------------------------------------------------------- +#----------------------------------------------------------------------------- +# The samples +#OPTION(BUILD_BBTK_SAMPLES "Build bbtk samples" OFF) +#IF(BUILD_BBTK_SAMPLES) +# SUBDIRS(samples) +#ENDIF(BUILD_BBTK_SAMPLES) +#----------------------------------------------------------------------------- +