[Scons-users] getting the contents of an alias

TOM TANNER (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Mon Jul 16 04:28:32 EDT 2012


Thanks. It looks like Alias('name')[0].children() returns what I want.

Is there any way of making this a public API?

----- Original Message -----
From: scons-users at scons.org
To: scons-users at scons.org
At: 7/13 16:22:34

Alias.children() or Alias.all_children() may return what you want.
They're undocumented and therefore subject to change, but given
there's no public API for this they are probably your best shot.

On Fri, Jul 13, 2012 at 10:48 AM, TOM TANNER (BLOOMBERG/ LONDON)
<ttanner2 at bloomberg.net> wrote:

> Is there any way to work out what targets an alias maps to?

>

> it'd save me building a huge list of information I've already got for part of the build which generates a file whose contents depends on the list of build targets.

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users




--
Gary
_______________________________________________
Scons-users mailing list
Scons-users at scons.org
http://four.pairlist.net/mailman/listinfo/scons-users



More information about the Scons-users mailing list