From 5953a99ac7e46d05d255810a96a8311358c5e6a6 Mon Sep 17 00:00:00 2001 From: sbh Date: Mon, 2 Mar 2015 13:12:23 +0300 Subject: [PATCH] Separate doxygen generation for Salome and OpenParts modes --- doc/CMakeLists.txt | 6 ++++++ doc/doxyfile.in | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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 -- 2.39.2