Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2005-07-28 10:56:57

Hi all,

I was trying to build *one* *shared* library compiled from sources that
are in 2 different directories. My problem is now that both directories
contain a file with the same name and bjamv2 does not like that ;-(

so I have

| |------foo.cpp

In the my Jamfile in the 'myproject' directory I write

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

and bjam complains that he has two definition of the same virtual target.

No I could of course create a dynamic library in subdir1 that contains
the foo.cpp in subdir1 and than create a second dynamic library in
subdir2 that contains the foo.cpp in subdir2 but this way I end up with
*2* dynamic libraries instead of one;-(

Any ideas on how to solve this problem?

Thanks in advance,



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