|
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
>
> http://article.gmane.org/gmane.comp.lib.boost.build/1813
>
> 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
"uninitiated".
> and then use them. Whether it can be automated, how it can be automated
and
> 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.
Cheers,
Pedro
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