我正在使用 Doxygen 记录 C++ 库的头文件。在里面Doxyfile
,我定义
INPUT = include/
希望 Doxygen 能够为所有头文件生成文档include/Foo
,但事实并非如此:只有index.html
被生成。我可以设置INPUT
to include/Foo
,但随后文档列出了标头及其基本名称(Reader.hh
),而我希望客户将标题包含为Foo/Reader.hh
etc.
如何让 Doxygen 在子目录中查找?
您是否已将 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
它在Doxyfile
(此处第 608 行,对您来说可能略有不同)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)