]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Separate doxygen generation for Salome and OpenParts modes
authorsbh <sergey.belash@opencascade.com>
Mon, 2 Mar 2015 10:12:23 +0000 (13:12 +0300)
committersbh <sergey.belash@opencascade.com>
Mon, 2 Mar 2015 10:12:23 +0000 (13:12 +0300)
doc/CMakeLists.txt
doc/doxyfile.in

index bf800eddae9ee46bb395c72f13549b7df153d7c7..4d321a8b6b28a1f7b31613a16924c5a4b8292e45 100644 (file)
@@ -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)
index 5f96a4dc137b297e5da641079926573648c65cc8..46e837496f2209c3bae1b2d9096c6a6c0fa47163 100644 (file)
@@ -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