From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-12-05 11:20:30
> Did you get the e-mail I sent you? I sent it a week or so ago, but
> haven't received a reply.
> The pch.jam and msvc-pch.diff files add PCH support and test.zip file
> contains the tests I am using for it. Alexey's mc toolset support patch
> is required to compile the mc project.
The first test ("dependent"), fails due to combination of two factors:
1. You have "../core" in client/Jamfile, so "../core" will build "stdafx" too,
and so "client" will get usage requirements of that target no matter what,
2. Your patch does not include "kill pch-headers" change to
If I modify the end of the rule to be:
local raw = [ $(subvariant).sources-usage-requirements ] ;
raw = [ $(raw).raw ] ;
raw = [ property.change $(raw) : <pch-header> ] ;
ECHO "XXXXXX" $(raw) ;
result = [ $(result).add [ property-set.create $(raw) ] ] ;
and then replace ../core with ../core//core, I get a single -Yu option when
compiling client/main.cpp. (I got double -Yu option before).
Instead of replacing ../core, you can add "explicit stdafx2" to core/Jamfile.
Looks like change to basic-target.compute-usage-requirements is the only thing
missing in your patch!
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