From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2008-05-28 12:32:53
Vladimir Prus wrote:
> I think that contrib/boost.jam purports to make installed Boost libraries
> usable in Boost.Build projects, as soon as you tell when they are installed.
Yes, this is true. But it will also search in the default location
of the compiler. On linux this happens to be the include directory
where e.g. debian puts the header files.
This is an example file of how to use it:
import boost ;
project foo ;
/boost//headers # this will just pull in the header dirs
Below is from the comments section, decribing the search order:
# This module allows to use the boost library from boost-build projects.
# The location of a boost source tree or the path to a pre-built
# version of the library can be configured from either site-config.jam
# or user-config.jam. If no location is configured the module looks for
# a BOOST_ROOT environment variable, which should point to a boost
# tree. As a last resort it tries to use pre-built libraries from the
# search path of the compiler.
-- _________________________________________ _ _ | Roland Schwarz |_)(_ | aka. speedsnail | \__) | mailto:roland.schwarz_at_[hidden] ________| http://www.blackspace.at
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