X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=CMakeLists.txt;h=d7889c1852fc6d5a5f9658ad2f3389a0f0e7ed06;hb=f346161adcdec4cf3dc3e1b8fac72a7bc43a5f50;hp=fbb741f913a4ec364185111f0cef2d692eab2240;hpb=60666a9908c25344c96805d6b160cc723917fd3f;p=bbtk.git diff --git a/CMakeLists.txt b/CMakeLists.txt index fbb741f..d7889c1 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) +#----------------------------------------------------------------------------- +