2010-12-10 58 views
18

我正在用Doxygen记录C++库的头文件。在Doxyfile,我的希望,Doxygen的然后会在include/Foo的所有头文件生成文档定义Doxygen在subdir中找不到头文件

INPUT = include/ 

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

我怎样才能使用Doxygen的子目录中寻找?

回答

32

您是否将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,可能是你sligthly不同)

+0

完成,但它仍然产生基本名头。 – 2010-12-10 14:04:36