Doxygen Seperate Inc/ and Src/ file problem

238 Views Asked by At

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

There are 1 best solutions below

7
albert On

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?