Boost logo

Boost-Build :

From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-07-31 20:28:17


Phillip Seaver wrote:
> Toon Knapen wrote:
>
>
>>In the my Jamfile in the 'myproject' directory I write
>>
>><Jamfile>
>>lib : subdir1/foo.cpp subdir2/foo.cpp ;
>></Jamfile>
>>
>>and bjam complains that he has two definition of the same virtual target.
>>
>
> How about this?
>
> lib bar : foo1 foo2 ;
> obj foo1 : subdir1/foo.cpp ;
> obj foo2 : subdir2/foo.cpp ;

It's just a workarond. The rule looks rather innocent.

lib : subdir1/foo.cpp subdir2/foo.cpp ;

Can this be fixed so lib rule will work out of the box without any changes?

Andrey

 


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