[Scons-users] Getting a list of aliases from Scons

Pico Geyer picogeyer at gmail.com
Thu Oct 31 16:14:10 EDT 2013


Hi Brian


On Thu, Oct 31, 2013 at 6:14 PM, Brian Fitzgerald <bfitz at blizzard.com>wrote:


> We use this:****

>

> ** **

>

> if GetOption('aliases'):****

>

> print 'Available Build Aliases:'****

>

> print '-----'****

>

> aliases = SCons.Node.Alias.default_ans.keys()****

>

> aliases.sort()****

>

> for x in aliases:****

>

> print x

>


That's a lot easier and cleaner than my hack.
Thanks a lot,
Pico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20131031/00672b0b/attachment.htm


More information about the Scons-users mailing list