开发者

Doxygen won't find headers in subdir

开发者 https://www.devze.com 2023-01-30 11:07 出处:网络
I\'m documenting a C++ library\'s header files with Doxygen. In the Doxyfile, I defined INPUT = include/

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

INPUT = include/

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.

How can I get Doxygen to look within the subdirectory?


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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消