Doxygen在subdir中找不到头文件

Fre*_*Foo 18 c++ doxygen header

我正在使用Doxygen记录C++库的头文件.在Doxyfile,我定义

INPUT = include/
Run Code Online (Sandbox Code Playgroud)

希望Doxygen会为所有头文件生成文档include/Foo,但它不会:只index.html生成文件.我可以设置INPUTinclude/Foo,但随后的文件中列出了头与他们的基本名称(Reader.hh),而我希望客户包括标头,Foo/Reader.hh等等.

如何在子目录中查看Doxygen?

bas*_*sti 33

你有RECURSIVE设置为YES吗?

# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
# If left blank NO is used.

RECURSIVE              = YES
Run Code Online (Sandbox Code Playgroud)

它在Doxyfile(这里是608行,对你来说可能会有点不同)