Boost logo

Boost-Build :

From: Tim St. Clair (timothysc_at_[hidden])
Date: 2007-08-07 15:22:01


Folks -

    I'm tinking with bjam, and I have a question regarding setting
boost as a pre-built dep. Currently I'm referencing boost directly,
so when I type "bjam -a" it will rebuild the boost libraries.

    Is there a way to reference the *prebuilt* boost libraries I would
like to link "cleanly", or to phrase it better, "What is the
recommended practice for linking boost as a prebuilt library?".

############### Begin Jamfile.v2 snip-it
use-project /boost : $(BOOST_ROOT) ;

project myexe
    : requirements
        <include>./include
        # I would like to link it without having it rebuild it as a dep
        <library>/boost/filesystem//boost_filesystem
        <library>/boost/serialization//boost_serialization
        <library>/boost/program_options//boost_program_options
    ;

exe myexe : [ glob src/*.cpp ] ;
############### end Jamfile.v2 snip-it

Thanks,
Tim


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