Sourcetrail
Sourcetrail copied to clipboard
Visualising CMake buildsystems
Our CMake buildsystem was growing pretty big over the years and for a proper documentation I would love to have a tool at hand, that I can visualize the different processes with that are going on during configuration of the build directory. I think Sourcetrail might be the right tool for this and it is already supporting C
which might make it easier to adopt to a C-like syntax of CMake.
ref.: CoatiSoftware/SourcetrailDB#30
I am definitely also in favor of such a feature.
For a simple start, it might not be necessary to parse the CMake language, but use its graphviz output and interactively display that. https://cmake.org/cmake/help/latest/module/CMakeGraphVizOptions.html
GraphViz output is pretty limited in that regards and it shows you just the connections between different libs
. Would still prefer how the functions in itself are connected and which functions call which cmake module etc.