【问题标题】:Doxygen won't find headers in subdirDoxygen 不会在子目录中找到标题
【发布时间】:2011-05-23 11:51:31
【问题描述】:

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

INPUT = include/

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

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

【问题讨论】:

    标签: c++ header doxygen


    【解决方案1】:

    您是否将 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 行,对您来说可能略有不同)

    【讨论】:

    • 完成,但它仍会为标题生成基本名称。
    猜你喜欢
    • 2020-12-02
    • 2013-08-17
    • 1970-01-01
    • 2020-06-29
    • 2018-12-31
    • 2012-05-15
    • 1970-01-01
    • 1970-01-01
    • 2014-09-05
    相关资源
    最近更新 更多