Gabriel M. Beddingfield wrote: > On Thu, December 4, 2008 12:38 pm, Sebastian Moors wrote: > >> scons remembers old settings: If you run scons debug=1 and then scons >> install, the debug setting will be applied to "scons install" too. Or: >> "scons jack=0; scons" will build without jack support, even it was not >> supplied as an argument the second time. >> > > Cool!! > > How does it work? It looks like you've delegated the optional settings to > the 'env' object... but how does _that_ remember? > > Not exactly. The "options" object saves the settings and restores them (line 268 / 460 ). The "Environment" objects gets initialised with the "options" object, so it knows about these settings. I hope everything works as expected, i'm afraid i couldn't test everything..
> Thanks, > Gabriel > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
