#==================================
# 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)
#==================================
#==================================
-# 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)
#-----------------------------------------------------------------------------
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)
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
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
)
# Recurse it bbtkWebSite dir
- SUBDIRS(template_WebSite)
+ ADD_SUBDIRECTORY(template_WebSite)