如何让doxygen的产生调用&安培;主叫方图对C函数

问题描述:

我花了一些时间审查文档,并通过我的强力霉素的配置文件从端到端去。我砍宽松的​​doxygen我的配置文件,它产生的文档和指数的结构和CPP类,但我没有看到来电或来电者的曲线C函数在我的源代码树众人。

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 indices for structs and cpp classes but I don't see call or caller graphs for the multitude of c functions in my source tree.

谁能告诉我如何配置的doxygen对生产这些电话和来电的树木?我必须安装graphviz的。

Can anybody tell me how to configure doxygen to produces these call and caller trees ? I do have graphviz installed.

您必须设置 HAVE_DOT CALL_GRAPH CALLER_GRAPH
另外,还要确保路径是在 PATH 变量。

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.

如果仍然不工作,你可能有 EXTRACT_ALL 和/或 EXTRACT_STATIC ,根据设置你的职责。

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