Doxygen将不会在subdir中找到标头 [英] Doxygen won't find headers in subdir

查看:121
本文介绍了Doxygen将不会在subdir中找到标头的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用Doxygen记录了一个C ++库的头文件。在 Doxyfile 中,我定义了

I'm documenting a C++ library's header files with Doxygen. In the Doxyfile, I defined

INPUT = include/

希望Doxygen生成 include / Foo中所有头文件的文档,但它不会:只生成 index.html 。我可以将 INPUT 设置为 include / Foo ,但是文档列出了标题及其基本名称( Reader.hh ),而我想要客户端包括头文件 Foo / Reader.hh 等。

in the hopes that Doxygen would then generate documentation for all the header files in include/Foo, but it doesn't: only the index.html is generated. I can set INPUT to include/Foo, but then the documentation lists the headers with their basenames (Reader.hh), while I want clients to include the headers as Foo/Reader.hh etc.

如何让Doxygen在子目录中查看?

How can I get Doxygen to look within the subdirectory?

推荐答案

是否将RECURSIVE设置为YES ?

Have you set RECURSIVE to 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行,可能与您不同)

it's in the Doxyfile (here line 608, might be sligthly different for you)

这篇关于Doxygen将不会在subdir中找到标头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆