Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-22 07:00:46


On Thursday 21 July 2005 16:34, hamletclaud wrote:
> --- In jamboost_at_[hidden], "Pedro Ferreira"
>
> <pedro.ferreira_at_m...> wrote:
> > > Especially,
> > > since also Mike's if - else solution seems to depend on the CVS
> > > version (it doesn't work with m10, either).
> >
> > That's odd. I'd say that the scaffolding needed for that to work has
>
> been
>
> > around for a while.
>
> Using the if-then-solution with M10 brings the following error
> message:
>
> ------
> error: Unable to find file or target named
> error: 'required_system_library'
> error: referred from project at
> error: '.'
> -------
>
> In other words, the program seems to be syntactically correct, but the
> library declaration goes out of scope after leaving the respective
> if-else-block (or so is at least my naive interpretation of the
> behaviour).

That could not happen. Target declaration have Jamfile scope. I suspect
there's some problem with the "OS" variable -- maybe it's not set in M10.

- 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