Can I have Meson visualize the dependency graph? #10343
-
Hi all, I'm running CMake but am interested in migrating to Meson. CMake supports creation of a dependency graph. I find this feature very useful and would like to keep using it. Does Meson support the same? I couldn't find anything. https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/Graphviz Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
https://ninja-build.org/manual.html#_extra_tools Once Meson has generated the build.ninja file, you can use ninja to generate a graphviz |
Beta Was this translation helpful? Give feedback.
https://ninja-build.org/manual.html#_extra_tools
Once Meson has generated the build.ninja file, you can use ninja to generate a graphviz
*.dot
file of the ninja targets, or have it spin up a tiny server that lets you browse a similar, but interactive, graph via a web browser. Does this help?