From: sbh Date: Mon, 2 Mar 2015 10:12:23 +0000 (+0300) Subject: Separate doxygen generation for Salome and OpenParts modes X-Git-Tag: V_1.0.2~17^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5953a99ac7e46d05d255810a96a8311358c5e6a6;p=modules%2Fshaper.git Separate doxygen generation for Salome and OpenParts modes --- diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index bf800edda..4d321a8b6 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -6,6 +6,12 @@ ELSE (WIN32) FIND_PROGRAM(DOXYGEN_EXECUTABLE doxygen) ENDIF(WIN32) +IF(HAVE_SALOME) + SET(EXCLUDE_DOC_DIR "*/AppElements/*") +ELSE(HAVE_SALOME) + SET(EXCLUDE_DOC_DIR "*/NewGeom/*") +ENDIF(HAVE_SALOME) + CONFIGURE_FILE(doxyfile.in "${CMAKE_CURRENT_BINARY_DIR}/doxyfile" IMMEDIATE @ONLY) diff --git a/doc/doxyfile.in b/doc/doxyfile.in index 5f96a4dc1..46e837496 100644 --- a/doc/doxyfile.in +++ b/doc/doxyfile.in @@ -720,8 +720,9 @@ EXCLUDE_SYMLINKS = NO # against the file with absolute path, so to exclude all test directories # for example use the pattern */test/* -EXCLUDE_PATTERNS = */Test/*.py -# (Python unit tests excluded) +# Python unit tests excluded +EXCLUDE_PATTERNS = */Test/*.py \ + @EXCLUDE_DOC_DIR@ # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names # (namespaces, classes, functions, etc.) that should be excluded from the