Athena: Produce graphviz output during cmake configuration
Run cmake --graphviz
by default to produce a dependency ($BINARY_TAG/packages.dot
) file during
the cmake configuration and install that file into the release. The
CMakeGraphVizOptions.cmake
are tuned to get the maximum amount
of dependency information but excluding ATLAS internal targets. The
generated DOT file is ~12MB (it would be ~7MB without external targets).
The DOT file itself is not very useful for visualization purposes due to its size and some post-processing is required to filter intermediate targets. A command line utility will be provided as a next step.
This code can of course be copied to the other projects. But let's first get some experience in Athena.
cc @akraszna, relates to ATLINFR-3561