$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-07-02 08:01:35
I am wondering if it's possible to use bjam to automatically find the
correct matching (prebuilt) boost library from within user projects:
I tried in my Jamfile (bbv1):
exe hello
: hello.cpp
: <sysinclude>/usr/local/include/boost-1_35
<find-library>boost_thread-gcc-mt
;
which does work fine. But at the same time it makes my Jamfile toolset
dependant.
I recognized, that I also could say:
exe hello
: hello.cpp
: <sysinclude>/usr/local/include/boost-1_35
<gcc><*><find-library>boost_thread-gcc-mt
<vc_7-1><*><find-library>boost_thread-vc71-mt
# and so on ... with a lot of boiler plate.
;
I am wondering if there is a way to say something like:
exe hello
: hello.cpp
: <sysinclude>/usr/local/include/boost-1_35
<find-common-variant-library>boost_thread
;
I know there also should be a way to specify the version number.
Roland