Doxygen Seperate Inc /和Src /文件问题 [英] Doxygen Seperate Inc/ and Src/ file problem

查看:86
本文介绍了Doxygen Seperate Inc /和Src /文件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目文件夹名为MyDoxy
,我有单独的文件系统,分别为 MyDoxy / Src / MyDoxy / Inc / 文件夹,它们有一些.c和.h文件。 Src / 文件夹中的
main.cpp

My project folder name is MyDoxy I 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 文件时。它不会生成文件和我在这篇文章中讨论的文件: Doxygen除了空的主页之外不会生成
,但是当我在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 mainpage But 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 /文件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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