Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-05 04:43:10


Hi Craig,

> ----------------------------
> revision 1.21
> date: 2003/12/11 13:42:40; author: vladimir_prus; state: Exp; lines: +5
> -1 Don't even call the 'init' rule of toolset twice.
>
>
> rule using ( toolset-module : * )
> {
> import $(toolset-module) ;
> if ! $(.$(toolset-module)-init-callled)
> {
> $(toolset-module)-init-callled = true ;
> $(toolset-module).init $(2) : $(3) : $(4) : $(5) : $(6) : $(7) :
> $(8) : $(9) ;
> }
> }
>
>
> However, this code never works. It is always possible
> to call init on a toolset twice because
> .$(toolset-module)-init-called and $(toolset-modul)-init-called
> are not the same variable.
>
> What is really supposed to happen?

Calling 'init' should be unconditional. I've fixed this in CVS. Thanks!

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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