Boost logo

Boost-Build :

From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-11-21 02:57:13

Reece Dunn wrote:
>>There is one more problem. If a target that uses PCH depends on another
>>target using PCH the top most one gets two <pch-header> and two
>><pch-file> properties - one from each target. For example:
> Argh!

I have an idea. I guess we can use almost the same approach as used for
def files as soon as we do cast anyway. If we put reference to PCH
target to a target requirements it will not be propagated to dependents
of it. I.e.

pch stdafx
         [ cast _ pcheader : stdafx.h ] stdafx.cpp

lib core

This will require some logic that will extract 'stdafx.h' from the PCH
target in order to put it into the command line.

Best regards/Venlig hilsen,
   Alexey Pakhunov.

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