Boost logo

Boost-Build :

From: Hassan Mehmet (hassan_mehmet_at_[hidden])
Date: 2007-05-22 12:02:47


Hi

I'm not sure if this is the expected behaviour but should a program that's
dependent on an installed library relink when the installed library has been
updated.

To explain I modified "example/libraries"

./Jamroot
---------
use-project /library-example/foo : util/foo ;

build-project app ;

lib instbar : : <name>bar <search>install ;

util/foo/Jamfile
----------------
project
    : usage-requirements <include>include ;

lib bar : bar.cpp ;

install install : bar : <location>../../install ;

app/Jamfile
-----------
exe app : app.cpp ..//instbar : <include>../util/foo/include ;

I then build (separately) util/foo and app.
I return to util/foo and rebuild the library ( bjam clean; bjam ).
I then return to app and type bjam but app does not relink. Should it ?

Thanks
Hassan


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