Doxygen Seperate Inc/ and Src/ file problem

自闭症网瘾萝莉.ら 提交于 2020-06-17 09:47:08

问题


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.

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

How can I solve this problem ?


回答1:


A bit long for a comment.

The syntax for INPUT is wrong, you will have had a warning about this when running doxygen.

The INPUT should either be:

    INPUT                  = MyDoxy/Src MyDoxy/Inc

or

    INPUT                  = MyDoxy/Src \
                             MyDoxy/Inc

or

    INPUT                  = MyDoxy/Src
    INPUT                 += MyDoxy/Inc

In which directory did you run doxygen?



来源:https://stackoverflow.com/questions/62403371/doxygen-seperate-inc-and-src-file-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!