|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-06-10 06:22:23
On Friday 10 June 2005 11:40, Toon Knapen wrote:
> Following Jamroot results in a bbv2 error
>
> <Jamroot>
> lib foo : foo.cpp ;
> lib foo2 : foo2.cpp : : : <define>NDEBUG ;
>
> lib main : main.cpp foo ;
> lib main2 : main.cpp foo2 ;
> </Jamroot>
>
> The error-msg is as follows:
>
> error: Duplicate name of actual target: <pbin/gcc/debug>main.o
> error: previous virtual target { gcc%gcc.compile.c++-main.o.OBJ {
> main.cpp.CPP } }
> error: created from ./main
> error: another virtual target { gcc%gcc.compile.c++-main.o.OBJ {
> main.cpp.CPP } }
> error: created from ./main2
> error: added properties: <define>NDEBUG
> error: removed properties: none
I'm pretty sure this behaviour was present all the time. You are trying to
build main.cpp both with <define>NDEBUG, and without, so Boost.Build does not
know how it build it.
Are you 100% sure it worked before?
- 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