[Scons-users] using Configure Contexts

Bill Deegan bill at baddogconsulting.com
Fri Dec 25 12:27:08 EST 2015


I'm not sure what you mean by "appropriate use of configure contexts"?
There's reasonable examples in the users guide.

Basically you create an Environment(), then you create a configure context
using that, then you setup a bunch of checkers.
The results of those you use to alter the Environment() you've specified to
the configure context.

The configure contexts are part of SCons's functionality meant to replace


On Fri, Dec 25, 2015 at 8:53 AM, Stefan Seefeld <stefan at seefeld.name> wrote:

> I'm trying to understand the appropriate use of configure contexts. A
> call to 'Configure()' yields a SCons.SConf.SconfBase object, while what
> is passed in to 'custom checks' (Section 23.8 in the User's Guide) as
> 'context' turns out to be of type 'Scons.Sconf.CheckContext. What is the
> relationship between these two types ? They don't have the same API
> (even though they seem quite similar in many ways), and it isn't
> entirely clear to me how to use them properly.
> Thanks,
>         Stefan
> --
>       ...ich hab' noch einen Koffer in Berlin...
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20151225/f68d51e5/attachment.html>

More information about the Scons-users mailing list