Boost logo

Boost-Build :

Subject: [Boost-build] best practices for using prebuilt boost libraries
From: Kuba Marek (blue.cube_at_[hidden])
Date: 2009-06-21 16:41:35


Hello,
what are best practices for using prebuilt boost libraries?

I have boost libraries installed from gentoo portage and i've tried
the syntax i found at
http://boost.cppll.jp/HEAD/tools/build/v2/boost_build_v2.html
( exe test : test.cpp /boost/date_time//date_time ; ) but it didn't
work (not a surprise). So i tried adding

project /boost/date_time ;
lib date_time ;

to my /etc/site-config.jam , but it still doesn't help.
What works is adding boost_date_time to project site-config, but i
don't like that solution (I need some standard way of writing that
dependency, so that i don't have to explain some funny hacks to
everyone trying to build my app).

Thanks in advance.

Kuba Marek

-- 
Just a whisper. I hear it in my ghost.



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