Boost logo

Boost-Build :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-10-20 07:56:53


I would like that the user can specify the path (to the boost
installation for instance) in his user-config.jam. The only way to
propagate these 'usage-requirements' however from my user-config.jam to
my project's Jamfile is using a dummy library:

<user-config.jam>
import project ;
project.initialize $(__name__) ;
project user-config
: usage-requirements
<include>/path/to/boost
;

lib boostheaders ;
</user-config.jam>

<in the Jamfile in the root-dir of my projects>
lib mylib_which_includes_boost_headers
: foo.cpp bar.cpp
/user-config//boostheaders
;
</Jamfile>

I'm sure there is a much more intelligent way ...

 


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