X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=CMakeLists.txt;h=1c1187598d4b4d56504a2ec033ad1c1f7e8b0c74;hb=6b68ad8d349ade46116a3f42a39e4b8c493b296f;hp=675bd1e6845d3f3847eb1d858f8cfecb7b9f3d55;hpb=1a15ca3e697702e7a28d0ccf4300691810ca25d0;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 675bd1e..1c11875 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,14 @@ +#----------------------------------------------------------------------------- +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 ) #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- @@ -16,3 +20,12 @@ SUBDIRS(kernel) # 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) +#----------------------------------------------------------------------------- +