From 557435581eea2031bec7fbfbca8ed81d636b9616 Mon Sep 17 00:00:00 2001 From: Frederic Cervenansky Date: Wed, 10 Nov 2010 15:18:59 +0000 Subject: [PATCH] change SUBDIRS (deprecate functionality) to ADD_SUBDIRECTORY --- appli/creaNewProject/NewProject/CMakeLists.txt.in | 12 ++++++------ appli/creaNewProject/NewProject/appli/CMakeLists.txt | 6 +++--- appli/creaNewProject/NewProject/lib/CMakeLists.txt | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/appli/creaNewProject/NewProject/CMakeLists.txt.in b/appli/creaNewProject/NewProject/CMakeLists.txt.in index ff89c53..5edc559 100644 --- a/appli/creaNewProject/NewProject/CMakeLists.txt.in +++ b/appli/creaNewProject/NewProject/CMakeLists.txt.in @@ -132,10 +132,10 @@ SET(BBTK_DOC_BUILD_PATH ) #================================== # USER! : Hands off! -# Subdirs -SUBDIRS(lib) -SUBDIRS(appli) -SUBDIRS(doc) -SUBDIRS(data) -SUBDIRS(install) +# ADD_SUBDIRECTORY +ADD_SUBDIRECTORY(lib) +ADD_SUBDIRECTORY(appli) +ADD_SUBDIRECTORY(doc) +ADD_SUBDIRECTORY(data) +ADD_SUBDIRECTORY(install) #================================== diff --git a/appli/creaNewProject/NewProject/appli/CMakeLists.txt b/appli/creaNewProject/NewProject/appli/CMakeLists.txt index 6dfac6b..7aa7b13 100644 --- a/appli/creaNewProject/NewProject/appli/CMakeLists.txt +++ b/appli/creaNewProject/NewProject/appli/CMakeLists.txt @@ -1,3 +1,3 @@ -# USER! : Add a SUBDIRS command for each one of your applications -# SUBDIRS(MyApp1) -# SUBDIRS(MyApp2) +# USER! : Add a ADD_SUBDIRECTORY command for each one of your applications +# ADD_SUBDIRECTORY(MyApp1) +# ADD_SUBDIRECTORY(MyApp2) diff --git a/appli/creaNewProject/NewProject/lib/CMakeLists.txt b/appli/creaNewProject/NewProject/lib/CMakeLists.txt index 4d9145e..dd38a15 100644 --- a/appli/creaNewProject/NewProject/lib/CMakeLists.txt +++ b/appli/creaNewProject/NewProject/lib/CMakeLists.txt @@ -49,6 +49,6 @@ SET(${LIBRARY_NAME}_LIBRARIES # USER! : Up to you again, now! -# USER! : Add a SUBDIRS command for each one of your libraries -# SUBDIRS(MyLib1) +# USER! : Add a ADD_SUBDIRECTORY command for each one of your libraries +# ADD_SUBDIRECTORY(MyLib1) -- 2.47.1