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

Greg Ward greg at gerg.ca
Wed Aug 8 22:15:09 EDT 2012


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.)

Greg
--
Greg Ward http://www.gerg.ca/
Jesus Saves -- but Moses gets the rebound, he shoots, he SCORES!


More information about the Scons-users mailing list