[Scons-users] DefaultEnvironment (was Re: StaticLibrary builder)

Bill Deegan bill at baddogconsulting.com
Thu Aug 9 00:53:50 EDT 2012


Greg,

On Wed, Aug 8, 2012 at 7:15 PM, Greg Ward <greg at gerg.ca> wrote:


> On 08 August 2012, Bill Deegan said:

> > As an aside, I'd like to get rid of DefaultEnvironment entirely.

>

> Really? My SConstruct does this

>

> env = DefaultEnvironment(

> ...vars...

> )

>

> and then every SConscript starts with

>

> env = DefaultEnvironment()

>

> or

>

> env = DefaultEnvironment().Clone()

>

> and it all works great. Should I be using Import() and Export() instead?

>

> (I really dislike Import() and export() on aesthetic grounds, because

> they conflate names and strings. Yuck.)

>


Interesting usage.
But I don't like things that happen auto-magically.
I like explicit.

Also Import/Export don't bother me in any way.

-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120808/a4f3934a/attachment.html>


More information about the Scons-users mailing list