Boost logo

Boost-Build :

From: Nigel Miller (nigelm_at_[hidden])
Date: 2006-08-09 11:52:41

I have another question already. Can BBv2 handle cross-linked DLLs?

By this I mean 2 DLLs that use symbols from each other. In our current build
system we have to compile all the libraries and generate the import libraries
(.lib) and then link the DLLs pulling in the .libs each one needs.

At a trivial level the following Jamroot shows the problem

lib liba : a.cpp libb ;

lib libb : b.cpp liba ;

(here a.cpp and b.cpp can be empty files) and this produces the following.

C:/boost-build/build\targets.jam:537: in start-building from module targets
error: Recursion in main target references
error: the following target are being built currently:
error: ./liba ./libb ./liba

Is there a way to make BBv2 do the .libs then the .dlls?


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