]> Creatis software - creaRigidRegistration.git/commitdiff
Replace deprecated SUBDIRS by ADD_SUBDIRECTORY Creatools2-0-3.creaRigidRegistration1-0-1.17Feb2011
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 3 Dec 2010 15:56:56 +0000 (15:56 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 3 Dec 2010 15:56:56 +0000 (15:56 +0000)
CMakeLists.txt
appli/CMakeLists.txt
doc/CMakeLists.txt

index 5ebed30acb3de3b8d136cd6a2dc216d3b57e46e5..a8c4e18d48a4d3cd5c7dbb4231f2e44dc0d7eeda 100644 (file)
@@ -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)
 #==================================
 #==================================
index 1f5bdfc015085e8632c732f3911113b47ddac4c0..70272d0f965a10c5505d6326d836cf554f9c58fe 100644 (file)
@@ -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)
index 2f9447ea5898557344e63cf5fcd95c48f1fc44dc..7becfcfd811fefa746e79306972af1ee99ff71f3 100644 (file)
@@ -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)