Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-07-03 07:21:17

Roland Schwarz wrote:
> I am wondering if it's possible to use bjam to automatically find the
> correct matching (prebuilt) boost library from within user projects:


> 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
> ;

Have you tried using conditional requirements (at the bottom of
You'll have your own method called with the current properties, which could
then be used to form the decorated target names. Just an idea.

+1 for adding this functionality to Boost.Build v2 itself. I've frequently
had the need to reference already built boost libraries from my projects.

// Johan

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at