Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-10-16 11:41:14


On Monday 16 October 2006 19:19, Andrei Melnikov wrote:
> On 14/10/06, Vladimir Prus <ghost_at_[hidden]> wrote:
> > On Sunday 08 October 2006 00:04, Vladimir Prus wrote:
> > > Hi,
> > > on gcc, to create a PCH one needs a header. On msvc, one needs a header
> > > and a .cpp file. This can be expressed like this:
> > >
> > > pch boost : boost.hpp : <toolset>msvc:<source>boost.cpp ;
> > >
> > > which is a bit verbose. How about allowing the user to write:
> > >
> > > pch boost : boost.hpp boost.cpp ;
> > >
> > > and simply ignore .cpp when it's not needed?
> >
> > Getting no comments, I've implement this.
>
> The cpp file is just one #include "boost.hpp" line. Can we generate it
> using the mechanism designed for RSP files?

Good idea! Will things work no matter what directory the .cpp file is
generated to?

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