Boost logo

Boost-Build :

Subject: Re: [Boost-build] Conditional rules interfering with unrelated dependencies
From: Matthew Chambers (matt.chambers42_at_[hidden])
Date: 2012-03-27 14:14:19


On 3/26/2012 1:31 PM, Matthew Chambers wrote:
> I have:
>
> rule d-requirements ( properties * )
> {
> return <library>c ;
> }
>
> lib a : a.cpp ;
> lib b : b.cpp : <library>a ;
> lib c : c.cpp ;
> lib d : d.cpp <library>a <conditional>@d-requirements ;
>
> How can I make the results of the conditional not affect <library>a's requirements? Otherwise I get
> duplicate target errors.
>

Nevermind. The interfering requirements causing the duplicate targets error were coming from a
different place. The above example doesn't show it and it's behaving as I would expect it anyway.

-Matt


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