Boost logo

Boost-Build :

Subject: [Boost-build] cycle runtime dependency
From: Anatoly Shirokov (shirokov_a_at_[hidden])
Date: 2009-06-10 07:58:19


Good day!

I have the following situation:

The dll1 library loads the dll2 library dynamically via LoadLibrary. On
the other hand the dll2 loads dll1 also dynamically. So there is no
explicit dependency between two modules. But in runtime dll1 cannot work
without dll2 and vise versa.

I want to use <dependency> to illustrate this situation:

lib dll1 : ... : <dependency>dll2 ;

lib dll2 : ... : <dependency>dll1 ;

But bjam fails with cycle detection.

Is there way to describe this situation? Can bjam break a cycle itself?

Thanks in advance,
Anatoly.


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