$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Andrei Melnikov (andy.melnikov_at_[hidden])
Date: 2006-10-16 11:19:06
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?
-- Andrei