Map tool # include

Is there a tool available that takes a set of source files and a map (graphically), how are they connected via #include?

I would like to see where there are any circular links.

+6
c ++ include
source share
3 answers

I believe doxygen:

http://www.doxygen.org/

with installed graphical interface:

http://www.graphviz.org/

will do it.

+5
source share

gcc (1) can create dependency files. They are intended to be used by make (1), but they are relatively easy to parse. Use the 'gcc -M -MF file' or the 'gcc -MM -MF file'.

+2
source share

All Articles