Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-08-04 15:04:23


On 8/4/06, Rene Rivera <grafikrobot_at_[hidden]> wrote:
>
> Vladimir Prus wrote:
> > I'm not sure about one thing. This code is called from
> > find-viable-generators, and emits some warnings. Finding viable
> generators
> > is the first step in generator selection, we can find 3 generators and
> then
> > select one. The fact that find-viable-generator has found a generator
> does
> > not mean it will run. So, you can emit a warning for a generator that is
> > not
> > run.
> >
> > Am I missing something?
>
> You would know better than me. Do you have a better solution?

Yes, I think so. Top-level Jamfile.v2 should have a target called
'build-all'. The type of the target should be "boost-build-all".
The generator for the "boost-build-all" type should contain the logic to
decide which variants to build. For gcc, it will discard building
of runtime-link=static. I haven't worked this approach to every detail, and
I don't have access to V2 source code at the moment,
but it should work.

> I just went for the most direct route to solving the problem since it
> seemed that no one was willing to address the problem in any form.

You mean, the problem of "building all variants". I'm not sure where you got
this impression from, given that I've agreed this problem should be solved.

- 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