问题描述
我的项目文件夹名为MyDoxy
,我有单独的文件系统,分别为 MyDoxy / Src /
和 MyDoxy / Inc /
文件夹,它们有一些.c和.h文件。 Src /
文件夹中的
main.cpp
。
My project folder name is MyDoxyI have separate file system that is MyDoxy/Src/
and MyDoxy/Inc/
folder and they have some .c and .h files.main.cpp
in the Src/
folder.
当我在MyDoxy文件路径中生成 Doxygen.txt
文件时。它不会生成文件和我在这篇文章中讨论的文件:
,但是当我在MyDoxy / Src /路径中创建时。它适用于main.cpp和.c文件,但不适用于.h文件,例如 main.h
文件。
When I generate the Doxygen.txt
file in the MyDoxy file path. It doesn't generate files and file I talked about in the this post: Doxygen does not generate except the empty mainpageBut when I create in the MyDoxy/Src/ path. It works for main.cpp and .c file but it didn't work for .h file for example main.h
file.
RECURSIVE = YES
INPUT = MyDoxy/Src
= MyDoxy/Inc
如何解决此问题?
推荐答案
需要一段时间才能发表评论。
A bit long for a comment.
INPUT
是错误的,运行doxygen时会对此发出警告。
The syntax for INPUT
is wrong, you will have had a warning about this when running doxygen.
INPUT
应该是:
INPUT = MyDoxy/Src MyDoxy/Inc
或
INPUT = MyDoxy/Src \
MyDoxy/Inc
或
INPUT = MyDoxy/Src
INPUT += MyDoxy/Inc
您在哪个目录中运行doxygen?
In which directory did you run doxygen?
这篇关于Doxygen Seperate Inc /和Src /文件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!