[Scons-dev] SCons performance investigations
Jonathon Reinhart
jonathon.reinhart at gmail.com
Mon Jul 24 12:04:50 EDT 2017
Cloning the environment is for both reasons: We don't want the SConscript
to pollute the environment but it is also free to tweak it (adding include
paths, etc) without needing to Clone() it itself.
On Mon, Jul 24, 2017 at 11:18 AM, Bill Deegan <bill at baddogconsulting.com>
wrote:
> A somewhat common use model is to create a configured Environment, and
> then clone it to pass to a subordinate SConscript.
> The only reason the clone is done is to prevent the subordinate SConscript
> from polluting the environment.
>
> It is for this use that I was asking if a read-only Environment would be
> useful.
>
> I'm also curious if in this case is it expected that the SConscript would
> or should not modify the Environment? Is this a functional clone, or a
> protective clone..
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20170724/da90c65f/attachment.html>
More information about the Scons-dev
mailing list