At the end of your SConstruct, start with the target nodes and recurse into each node.sources . This is incomplete of course if you have any source generation or emitters etc. But it may be useful depending on what you're doing.
-- Gary (sent from my Android) On May 19, 2015 3:58 AM, "anatoly techtonik" <[email protected]> wrote: > So far I discovered Taskmaster. > > Taskmaster > This is the main engine for walking the dependency graph and > calling things to decide what does or doesn't need to be built. > > But it looks like it already needs a graph of nodes to process and > I don't see where to get them. > > > On Tue, May 19, 2015 at 10:51 AM, anatoly techtonik <[email protected]> > wrote: > > No. I need a programmatic way to do this from Main.py > > There is a fs object after SCons read all files, but I don't > > understand how filesystem becomes a build graph. > > > > > > On Tue, May 19, 2015 at 1:03 AM, William Blevins <[email protected]> > wrote: > >> --tree=all plus --dry-run should work? > >> > >> On May 18, 2015 2:11 PM, "anatoly techtonik" <[email protected]> > wrote: > >>> > >>> Hi, > >>> > >>> I am trying to get SCons build graph after files > >>> are read, but before the processing is started. > >>> > >>> I want it to be an alternative to build process > >>> and interactive mode: > >>> > >>> > https://bitbucket.org/scons/scons/src/95b566e4baf0253e1b36b8a9e00a97cd84d22566/src/engine/SCons/Script/Main.py?at=default#cl-1091 > >>> > >>> How to start traversing nodes without building? > >>> -- > >>> anatoly t. > >>> _______________________________________________ > >>> Scons-dev mailing list > >>> [email protected] > >>> https://pairlist2.pair.net/mailman/listinfo/scons-dev > >> > >> > >> _______________________________________________ > >> Scons-dev mailing list > >> [email protected] > >> https://pairlist2.pair.net/mailman/listinfo/scons-dev > >> > > > > > > > > -- > > anatoly t. > > > > -- > anatoly t. > _______________________________________________ > Scons-dev mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/scons-dev >
_______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
