'Doxygen processes my files in a subdirectory, but does not show them in the output documentation
Doxygen processes my project, both headers and implementation files, both in the main directory and in a subdirectory, but then in the generated HTML output only the files from the main directory are visible.
These are the relevant parts of the Doxyfile:
NUM_PROC_THREADS = 1
EXTRACT_ALL = YES
HIDE_* = NO
INTERNAL_DOCS = NO
SHOW_FILES = YES
WARNINGS = YES
INPUT = C:\path_to\include\dir1 \
C:\path_to\include\dir2 \
C:\path_to\include\dir3 \
C:\path_to\examples\dir1 \
C:\path_to\examples\dir2 \
C:\path_to\examples\dir3 \
C:\path_to\examples\dir3\file1.h \
C:\path_to\examples\dir3\file2.h \
C:\path_to\examples\dir3\file1.cxx \
C:\path_to\examples\dir3\file2.cxx
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \ ...
RECURSIVE = YES
EXCLUDE =
EXCLUDE_SYMLINKS = NO
SOURCE_BROWSER = YES
INLINE_SOURCES = NO
CLANG_ASSISTED_PARSING = YES and NO (tried both)
HIDE_UNDOC_RELATIONS = NO
HAVE_DOT = YES
CLASS_GRAPH = YES
UML_LOOK = YES
INCLUDE_GRAPH = YES
DIRECTORY_GRAPH = YES
Only the files in the C:\path_to\include\ are available in the HTML output. Note that I also specify the file names, not just the directory, to try to get them in the output.
These are the relevant parts of the output logs:
Preprocessing C:\path_to\examples\dir3\file1.h...
Parsing file C:\path_to\examples\dir3\file2.h...
Preprocessing C:\path_to\examples\dir3\file1.cxx...
Parsing file C:\path_to\examples\dir3\file2.cxx...
Generating file sources...
Generating code for file file1.cxx...
Generating code for file file1.h...
Generating code for file file2.cxx...
Generating code for file file2.h...
Generating docs for file file1.cxx...
Generating docs for file file1.h...
Generating docs for file file2.cxx...
Generating docs for file file2.h...
In the HTML output, if I make a search for, e.g., "file1.cxx" or "file1.h" or "file1" I get "No matches".
It looks like the examples directory has not been processed at all, while the logs show otherwise.
Doxygen version 1.9.2 and 1.9.3.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
