From: Frederic Cervenansky Date: Wed, 10 Nov 2010 15:26:02 +0000 (+0000) Subject: change SUBDIRS (deprecate functionality) to ADD_SUBDIRECTORY X-Git-Tag: Creatools2-0-3.creaContour1-2-3.17Feb2011~6 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaContours.git;a=commitdiff_plain;h=da878bcc5cad2e8ec7bb5dbd715503c45e0bf672 change SUBDIRS (deprecate functionality) to ADD_SUBDIRECTORY --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 637ef17..7425ea9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,8 +81,8 @@ INCLUDE_DIRECTORIES(lib/Interface_Icons_NDimensions) INCLUDE_DIRECTORIES(lib/kernel_ManagerContour_NDimensions) INCLUDE_DIRECTORIES(lib/kernel_ManagerContour_NDimensions/ParserOsirix) -SUBDIRS(lib) -SUBDIRS(appli) -SUBDIRS(bbtk) -SUBDIRS(data) -SUBDIRS(install) +ADD_SUBDIRECTORY(lib) +ADD_SUBDIRECTORY(appli) +ADD_SUBDIRECTORY(bbtk) +ADD_SUBDIRECTORY(data) +ADD_SUBDIRECTORY(install) diff --git a/appli/CMakeLists.txt b/appli/CMakeLists.txt index c8396e8..57fab62 100644 --- a/appli/CMakeLists.txt +++ b/appli/CMakeLists.txt @@ -1 +1 @@ -SUBDIRS(wxContourGUIExample) +ADD_SUBDIRECTORY(wxContourGUIExample) diff --git a/bbtk/CMakeLists.txt b/bbtk/CMakeLists.txt index 1e5e155..d506009 100644 --- a/bbtk/CMakeLists.txt +++ b/bbtk/CMakeLists.txt @@ -122,7 +122,7 @@ SET(${BBTK_PACKAGE_NAME}_INCLUDE_DIRS # - the dirs automatically set by other libraries found by FIND_PACKAGE ) - ##SUBDIRS( ${New_Interface} ) + ##ADD_SUBDIRECTORY( ${New_Interface} ) #=========================================================================== #=========================================================================== diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index b5aeadb..ab04c0f 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -53,9 +53,9 @@ SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS # Invoke the advanced macro CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE(${LIBRARY_NAME}) -SUBDIRS(Interface_ManagerContour_NDimensions) -SUBDIRS(Interface_Icons_NDimensions) -SUBDIRS(kernel_ManagerContour_NDimensions) -SUBDIRS(doxygen) +ADD_SUBDIRECTORY(Interface_ManagerContour_NDimensions) +ADD_SUBDIRECTORY(Interface_Icons_NDimensions) +ADD_SUBDIRECTORY(kernel_ManagerContour_NDimensions) +ADD_SUBDIRECTORY(doxygen)