Doxygen除了空的主页面外,不生成其他的东西

问题描述 投票:0回答:1

我有一个问题 Doxygen GUI我目前使用的版本是 Doxygen 1.8.19我正确地选择了扫描源代码的项目路径和目录,并且激活了 EXTRACT_ALLENABLE.

我看到的输出。

enter image description here

我把.cpp和.c代码放在一起。但main是cpp,所以我在main.cpp中添加了详细文件作为。

/**
  * @file           : main.cpp
  * @brief          : Main program body

当我运行doxygen按钮时,我看到的是:

清空主页面,我看不到另一个Tab。

如何解决这个问题?

我的源代码。

在main.cpp文件中

/**
*@mainpage  MyPROJECT
*
*
*
*/

/**
   *@file         main.cpp
   *@brief        This is the main source code of the project.
*/....

在main.h文件中

/**
*@mainpage  MYPROJECT
*
*
*
*/


    /**
       *@file         main.h
       *@brief        This is the main source code of the project.
    */
    ...
doxygen
1个回答
0
投票

在主页上获取文本不是由文件名触发的,但可以通过以下方式实现

小编注:当文件文档与文件本身在同一个文件中时,文件名中带有的 @file 命令是不必要的(而且 @file 实际上可以省略。该 : 也是不行的。


0
投票

我解决了这个问题.对于和我一样出现错误的人。

之前 "Run doxygen" 将Doxygen文件保存到 main.cpp 文件复制到那里。例如,你的 main.cpp Srcmain.cpp中的文件,而不是将 "Doxygen.txt "文件复制到Srcmain.cpp中。

这样就可以了!

© www.soinside.com 2019 - 2024. All rights reserved.