Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-11-23 11:06:30


Hi Zbynek,
> When I do the following:
>
> $ > project-root.jam
> $ echo "exe test : test.cpp ; stage s : test : <location>. ;" > Jamfile
> $ echo "int main(){ return 0; }" > test.cpp
>
> and run latest cvs bb when everything is up-to-date I get this warning:
>
> warning: <p.>test depends on itself
> ...found 10 targets...
>
> However, the same works just fine when using bb-m10...

That's (already) known issue, that I hope to fix soon. In the meantime,
you can go to build/virtual-target.jam, method file-target.actualize-location,
find the following code block:

# For real file target, we create gristless target that
# depends on the real target. This allows to run
#
# bjam hello.o
#
# without trying to guess the name of the real target.
DEPENDS $(target:G=) : $(target) ;

and comment it out.

- Volodya

 


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