# if you need to LINK against crea
# (and not only use its macros)
SET(USE_CREA ON)
-OPTION(USE_GDCM "Use GDCM" ON)
+#
+# ----------------- manual setting GDCM/GDCM2 JPR
+#
+OPTION(USE_GDCM "Use GDCM" OFF)
SET(USE_GDCM_VTK ON)
-OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" OFF)
+OPTION(USE_GDCM2 "Use gdcm 2.0.14 at least" ON)
# No interface for the moment, don't allow to add useless libraries
SET(USE_WXWIDGETS OFF CACHE BOOL "Use wxWidgets" FORCE)
SET(USE_KWWIDGETS OFF)
#==================================
# Subdirs
-SUBDIRS(lib)
-SUBDIRS(appli)
-SUBDIRS(doc)
-SUBDIRS(install)
+ADD_SUBDIRECTORY(lib)
+ADD_SUBDIRECTORY(appli)
+ADD_SUBDIRECTORY(doc)
+ADD_SUBDIRECTORY(install)
#==================================
-# Add a SUBDIRS command for each one of your applications
-# SUBDIRS(MyApp1)
-# SUBDIRS(MyApp2)
+# Add a ADD_SUBDIRECTORY command for each one of your applications
+# ADD_SUBDIRECTORY(MyApp1)
+# ADD_SUBDIRECTORY(MyApp2)
if(USE_GDCM)
-SUBDIRS(
+ADD_SUBDIRECTORY(
# ==> mettez ici la liste des directories qui contiennent
# ==> les fichiers sources de chacune de vos applications
# ==> Selon que l'application utilise ou non wX, vous duppliquerez
#-----------------------------------------------------------------------------
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)
-# Add a SUBDIRS command for each one of your libraries
- SUBDIRS(src1)
+# Add a ADD_SUBDIRECTORY command for each one of your libraries
+ ADD_SUBDIRECTORY(src1)
)
OPTION( BUILD_DOXYGEN_DOC "Build doxygen doc ?" OFF)
IF(BUILD_DOXYGEN_DOC)
- SUBDIRS(doxygen)
+ ADD_SUBDIRECTORY(doxygen)
ENDIF(BUILD_DOXYGEN_DOC)