[Scons-users] Default() and Ignore() - seem a little awkward

Gary Oberbrunner garyo at oberbrunner.com
Sat Jan 5 17:16:23 EST 2019


On Sat, Jan 5, 2019 at 5:09 PM Mats Wichmann <mats at wichmann.us> wrote:

> ...
> > As for your note that a Default list of None is "not legal" well, not
> > exactly -- but it does mean nothing will be built by default (without
> some
> > target specified on the cmd line), which is odd at best. Default() is
> > global - it just replaces '.' as what gets built if the user doesn't
> > specify any command line targets.
>
> there's an env.Default too.. is that in fact not environment-specific
> and actually global?  If so, that would explain what I was seeing.
>

Yes, I can see how that would be confusing. It's the same global Default(),
just callable from an Environment. A doc note would be a good idea there.

-- 
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20190105/e675af6b/attachment-0001.html>


More information about the Scons-users mailing list