سؤال

Does SCons provide some way of calling a user defined callback that does something interesting with the node graph after it has been completely constructed?

I want to use this for generating a GraphViz of the build graph (in Python) without relying on a potentially faulty text-output from scons --tree=all.

A more structured and efficient processing of the node graph that is.

هل كانت مفيدة؟

المحلول

There aren't any SCons functions published to do what you're asking. The only thing I can suggest would be to look at the source code to see how the --tree options work.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top