[Scons-users] Clone effectiveness

Mats Wichmann mats at wichmann.us
Sat Sep 15 20:42:32 EDT 2018


On 09/14/2018 03:30 PM, Bill Deegan wrote:
> Yes. That's generally how I go about it.
> An Environment per type of build. Passed via SConscript's export argument
> generally to all SConscripts but that my not make sense depending on your
> build.
> That way each SConscript could check if the env it's been passed is one it
> "wants" to build.

so it seems there's one specific case for a new cloned env: if a
subsidiary script is going to call env.ParseConfig that's going to make
changes to the big env we're sharing now.  Maybe not in a bad way, but
still, it's a little less predictable than explicit additions.



More information about the Scons-users mailing list