Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Visualising CMake buildsystems #1006

Open
simonsan opened this issue May 10, 2020 · 2 comments
Open

Visualising CMake buildsystems #1006

simonsan opened this issue May 10, 2020 · 2 comments

Comments

@simonsan
Copy link

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

@diiigle
Copy link

diiigle commented Jan 6, 2021

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

@simonsan
Copy link
Author

simonsan commented Jan 6, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants