From: Guido Ziliotti (guido.ziliotti_at_[hidden])
Date: 2007-06-11 04:52:37
My problem is linking with compiled boost binaries placed in my
My concrete example arose form timer example #1 from asio. The library to
link with is boost_date_time.
The file below does the job it succesfully compiles and links. The price to
pay is using
<linkflags>. I'm using tioolset=msvc (vc 8.0).
I was not very happy about that. I feel I'm very likely missing some better
bjam idiom which would do
------------ this i sthe content of the Jamroot attached gile
path-constant BOOST_ROOT : F:/guido/env/tree/boost/boost_1_34_0 ;
path-constant BOOST_INSTALL_ROOT : F:/guido/env/tree/boost/install ;
path-constant ASIO_FLAT_ROOT : F:/guido/env/tree/asio/asio-0.3.7 ;
path-constant ASIO_BOOST_ROOT : F:/guido/env/tree/asio/boost_asio_0_3_7 ;
use-project boost : $(BOOST_ROOT) ; #by the way "use-project /boost :
$(BOOST_ROOT) ;" better?
project timer1 :
exe t1 : t1.cpp /boost//date_time :
ECHO <linkflags>/LIBPATH:$(BOOST_INSTALL_ROOT)/LIB is needed how about some
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