|
Boost-Build : |
From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-10-26 05:03:56
> Hi,
> I've just committed the attached patch, which makes PCH work on msvc
> without requiring a .cpp file -- the .cpp file will be created automatically.
>
> I've checked that command like looks fine, but would appreciate if somebody
> test it with real msvc. For example, try building the example/pch project, or
> just remove the .cpp file from sources of cpp-pch target of your project.
>
> (Note: the attached patch has a bug -- ":D" instead of ":D=" -- which was
> fixed by a later commit).
>
> Thanks in advance,
> Volodya
This patch creates a problem when compiling C++ pchs. The
compile.c++.pch contains the lines:
get-rspline $(targets[1]) : -TC ;
get-rspline $(targets[2]) : -TC ;
instead of
get-rspline $(targets[1]) : -TP ;
get-rspline $(targets[2]) : -TP ;
which causes compiler errors.
-- Bojan Resnik
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