Re: Default() and Ignore() - seem a little awkward
Gary Oberbrunner <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <CAFChFyj+L7ebe47Qs3u6ybFget0FT-sxfmB4oVGZbMsSOoNaNg@mail.gmail.com> |
On Sat, Jan 5, 2019 at 5:09 PM Mats Wichmann <[email protected]> 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 _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users