How can I create a high-level, normie-friendly, map of C++ source-code?
-
I am interested in creating an automated high-level 'map' of a very-large C++ / QT project. A normie-friendly visualization simply showing the various source-code files in the project; and where they reference each other.
In other words: I want to create a 'top-down city view' or 'traffic-route-map' between source-code files.
It needs to be a simple, visual, 'map' of the basic inter-relationship between source-code files that a layperson / NPC could understand. I'd like to show the 'map' to everyone from our Graphics dept. to User-Testing dept. I'm imaginining a simple 'mind-map'-style visualization showing where files essentially 'interact-together' in the C++ source-code filesystem.
Another way to put it is that I'd like to visualize all of the other files main.cpp hangs out with, and what route is taken to their houses. Basic surveillance :)
We are Linux-based ONLY.
I looked at doxygen; is this the right direction to go in?
Thanks!
-
Doxygen is a good choice, I don't know if it will fit your requirements exactly though. It can show nice class-subclass hierarchies if you enable dot diagrams. In cmake this can be done like so:
find_package(Doxygen REQUIRED dot)
(https://www.doxygen.nl/manual/diagrams.html)
This will result in something like this: https://www.doxygen.nl/manual/examples/diagrams/html/class_c.html