Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-01-28 07:42:45


On Friday 28 January 2005 15:10, Pedro Ferreira wrote:

> >> Ok, I'm convinced.
> >> Proposal: make everything global, except targets and all artifacts
> >> generated for a build.
> >> I'll try and make some modules' state "resettable" so we can test them
> >> easily.
> >> Anyone sees a problem? Volodya, you seemed to be in line with my
> >> proposal
> >
> > I was and still is. If you tell me what's "resettable" then I'll be
> > happy to
> > go with globals for now.
>
> Changed feature, property, property_set, scanner, toolset and type so
> that they now have global state.
> Added a function called 'reset' to each one of these, which resets the
> global state.
> All unit tests call them beforehand and work correctly.
>
> Is this ok? If it turns out to be a bad choice, I'll ask Dave to revert
> it ;-)

Fine with me!

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk