From b01d4d6368f5d29e2de4f4f101b5c4832a841dab Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Fri, 3 Dec 2010 15:56:56 +0000 Subject: [PATCH] Replace deprecated SUBDIRS by ADD_SUBDIRECTORY --- CMakeLists.txt | 10 +++++----- appli/CMakeLists.txt | 6 +++--- doc/CMakeLists.txt | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ebed30..a8c4e18 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,10 +118,10 @@ SET(BBTK_DOC_BUILD_PATH #================================== # Subdirs -SUBDIRS(lib) -SUBDIRS(appli) -SUBDIRS(doc) -SUBDIRS(PackRecalage) -SUBDIRS(install) +ADD_SUBDIRECTORY(lib) +ADD_SUBDIRECTORY(appli) +ADD_SUBDIRECTORY(doc) +ADD_SUBDIRECTORY(PackRecalage) +ADD_SUBDIRECTORY(install) #================================== #================================== diff --git a/appli/CMakeLists.txt b/appli/CMakeLists.txt index 1f5bdfc..70272d0 100644 --- a/appli/CMakeLists.txt +++ b/appli/CMakeLists.txt @@ -1,3 +1,3 @@ -# Add a SUBDIRS command for each of your applications -# SUBDIRS(MyApp1) -# SUBDIRS(MyApp2) +# Add a ADD_SUBDIRECTORY command for each of your applications +# ADD_SUBDIRECTORY(MyApp1) +# ADD_SUBDIRECTORY(MyApp2) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 2f9447e..7becfcf 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -3,7 +3,7 @@ #----------------------------------------------------------------------------- IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN) INCLUDE(../cmake/UserBuildDoxygenDoc.cmake) - SUBDIRS(UserDoxygen) + ADD_SUBDIRECTORY(UserDoxygen) ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_DOXYGEN) #----------------------------------------------------------------------------- @@ -29,7 +29,7 @@ ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML) #----------------------------------------------------------------------------- IF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML) - SUBDIRS(UserDocumentation) + ADD_SUBDIRECTORY(UserDocumentation) ENDIF(BUILD_${PROJECT_NAME}_DOC AND BUILD_${PROJECT_NAME}_DOC_GUIDES_PDF OR BUILD_${PROJECT_NAME}_DOC_GUIDES_HTML) #----------------------------------------------------------------------------- # Web site @@ -69,7 +69,7 @@ IF(BUILD_${PROJECT_NAME}_DOC) ) # Recurse it bbtkWebSite dir - SUBDIRS(template_WebSite) + ADD_SUBDIRECTORY(template_WebSite) -- 2.47.1