Boost logo

Boost-Build :

From: Pedro Ferreira (pedro.ferreira_at_[hidden])
Date: 2003-12-09 04:44:29

Hi Volodya, Jürgen,

> Going back to Pedro's example:
> lib a : A1/A.cpp A2/A.cpp : <link>static ;
> stage stage : a ;
> I am not really sure where to compile those different A.cpp, so that they
> don't conflict. One solution, from
> would be to create auxilliary obj targets:

> obj a1 : A1/A.cpp ;
> obj a2 : A2/A.cpp ;

I had tried this one too but it's not very intuitive, at least for the

> and then use them. Whether it can be automated, how it can be automated
> whether it's worth the effort are the questions.

What if the name of the obj file were changed in order to mangle the whole
path, e.g. A1___A.obj? (I have to say that I was never too fond of the idea
of simplifying the target paths...)

I do agree that it is not a terrible priority, though.




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