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)
# 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