Boost logo

Boost-Build :

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

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.


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