$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-11-23 14:30:11
Reece Dunn wrote:
> The alternative that Alexey suggested of having:
>
> lib a : ... : <pch>pch_a ;
> lib b : a ... : <pch>pch_b ;
>
> does not (I think) allow you to add a generator for the PCH file to
> generate the *.pch file.
I think it can work but *.pch will have to be a main target. Also the
feature '<pch>' should be defined as a dependency feature. Then 'a' will
depend on 'stdafx' (see the example below).
pch stdafx : ... ;
lib a : main.cpp ... : <pch>stdafx ;
Though there is another problem. 'main.cpp' should also depend on
stdafx. I don't have any suggestions how this can be solved. :-(
Best regards/Venlig hilsen,
Alexey Pakhunov.