|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-08-01 04:14:56
On Monday 01 August 2005 05:28, Andrey Melnikov wrote:
> 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?
There's a long story. Can you "cvs up" your Boost.Build tree, read the
"notes/relative_source_paths.txt" document, and express your opinion?
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
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