Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-12-07 04:33:15


On Wednesday 07 December 2005 12:29, Reece Dunn wrote:

> >So, just wrap the body of "pch-generator.run" in
> >
> > if $(name)
> > {
> > }
> >
> >This will make sure the generator is only run inside "pch" main target.
> >I can commit the change any time, but I have no idea how to test for the
> >problem.
>
> I tried this, along with the removal of [ cast ... ] to the PCH stuff. I
> also needed to add a generator for H and one for HPP to allow stdafx.h or
> pch.hpp as your header. This worked fine except for MC which gave an
> ambiguity error:
>
> MC -> RC -> OBJ
> \-> H -> PCH -> OBJ
>
> which I don't know how to solve :( (hence the cast).

Drop me the testcase, and I'll take a look.

Thanks,
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