]> Creatis software - crea.git/commitdiff
Replace deprecated SUBDIRS by ADD_SUBDIRECTORY
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 3 Dec 2010 15:56:45 +0000 (15:56 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Fri, 3 Dec 2010 15:56:45 +0000 (15:56 +0000)
appli/creaNewProject/NewProject/doc/CMakeLists.txt
samples/CMakeLists.txt

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)
 
 
 
index 6e85974cd1b2ca3dbcd25be8f27260a7606ceeba..8e3a66c598d794af72d97369a557dbd2ce0cd5d6 100644 (file)
@@ -1,3 +1,3 @@
-SUBDIRS(creaSample_MessageManager)
-SUBDIRS(creaSample_preprocessor)
-SUBDIRS(creaSample_VtkBasicSlicer)
+ADD_SUBDIRECTORY(creaSample_MessageManager)
+ADD_SUBDIRECTORY(creaSample_preprocessor)
+ADD_SUBDIRECTORY(creaSample_VtkBasicSlicer)