On Wed, May 20, 2015 at 6:51 PM, Kenny, Jason L <[email protected]> wrote:

> [...]

Thanks for the explanation. I wrote it down to ask questions later
when I get some output with the tree.

> To get the tree you want all you have to do is grab the target list ie... 
> SCons.Script.BUILD_TARGETS and for each item in the list, turn it into a node 
> ( as it might be a string still) and then you start to iterate it children. 
> As pointed out the main code for this in SCons.Script.Main.py. you can look 
> at TreePrinter as a starting point and search for the code that uses it.

I inserted "print SCons.Script.BUILD_TARGETS" right before checking
condition for interactive mode after SConscript files are read), and
it is empty. But SCons is still trying to build something. How it
determines those targets?

-- 
anatoly t.
_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to