« Return to Thread: cycle runtime dependency

cycle runtime dependency

by Anatoly Shirokov :: Rate this Message:

Reply to Author | View in Thread

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.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

 « Return to Thread: cycle runtime dependency