Boost logo

Boost-Build :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-07-19 11:41:16


I am wondering what is the best practice for specifying pre-built boost
libraries.

E.g.

lib boost_thread : : <name>boost_thread ;

exe hello : hello.cpp boost_thread ;

is not enough, since the actual name of boost_thread is decorated with
debugging variant, threading, compiler ....

As I understand it would be possible to come up with a site-config.jam
file that could perform this kind of mapping. But this is tedious...

I guess a better way would be to write a boost.jam and put it into the
tools of boost-build.

In user-config.jam I would need simply say "using boost" and in my
projects e.g.

exe hello : hello.cpp /boost//boost_thread ;

Is this possible, i.e. does anyone know of (or intend to write) such a
boost.jam module?

regards
Roland


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