Doxygen not documenting main function in main.cpp

前端 未结 4 1046
长发绾君心
长发绾君心 2020-12-31 02:49

I have a main.cpp that contains a struct, some global constants and a main function.

I ran doxygen and the only documentation I am getting in the output index.html i

4条回答
  •  别那么骄傲
    2020-12-31 03:18

    For me, I had to make sure I had this set:

    SHOW_FILES = YES

    All your global functions will appears in the Files tab inside of each file. Also, it helps if you have @file or \file defined at the top of your code.

提交回复
热议问题