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:
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.
[ cast _ pcheader : stdafx.h ] stdafx.cpp
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,
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