On Wed, May 20, 2015 at 11:25 AM, anatoly techtonik <[email protected]>
wrote:

> I want to get target Node based on name passed from command line.
> How to do that?
>

node = File(name)

How to get list of all targets to be built?  User guide:
http://www.scons.org/doc/HTML/scons-user/ch10s03.html#idp3074280

the BUILD_TARGETS variable contains a list of the command-line targets, if
any were specified, and if no command-line targets were specified, it
contains a list of the targets specified via the Default method or function


Note that it contains a list of Nodes, so you don't need to do anything,
just iterate over it.

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

Reply via email to