Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-01-19 14:35:41

Janssen, Olaf ST/HZA-TBE wrote:
>pch support doesn't work together with parallel builds, because access
>to the precompiled header file isn't synchronized, e.g.

Do you know how to synchronize the PCH header? Is it just generation+access
at the same time where build(0) is generating the PCH and build(1) is using

Hmm. We need to make the CPP files dependant on the PCH file, so they won't
be built until the PCH is generated.

The mechanism to associate the PCH with the CPP files isn't adding a
dependency on that PCH. I'll have a look at this, but getting PCH support
thus far was complex enough and it doesn't currently work in all cases!

- Reece

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at