how to get doxygen to produce call & caller graphs for c functions

后端 未结 4 886
盖世英雄少女心
盖世英雄少女心 2020-12-01 04:44

I\'ve spent some time reviewing the docs and going through my doxy config file from end to end. I cut doxygen loose on my config file and it produces documentation and indi

相关标签:
4条回答
  • 2020-12-01 04:46

    I had the same problem for my C global functions. Enabling CLANG_ASSISTED_PARSING did help display callgraphs for some functions, yet not all of them.

    0 讨论(0)
  • 2020-12-01 04:57

    doxywizard is also useful. It gives you all the options in a GUI. Selecting any option shows quick help about that option.

    You might also be interested in COLLABORATION_GRAPH or GRAPHICAL_HIERARCHY.

    Quite convenient.

    0 讨论(0)
  • 2020-12-01 05:02

    Setting the path to "dot" (/usr/local/bin/) via the "Expert" tab controls in the GUI did the trick!

    0 讨论(0)
  • 2020-12-01 05:08

    You have to set HAVE_DOT, CALL_GRAPH and CALLER_GRAPH to YES. Also make sure the path to dot is in your PATH variable.

    If that still doesn't work, you might have to set EXTRACT_ALL and/or EXTRACT_STATIC, depending on your functions.

    0 讨论(0)
提交回复
热议问题