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.

-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