Re: Clone effectiveness

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
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.

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.