Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-09-08 14:39:51


Thanks to Rene Rivera, it just got a whole lot easier to use the Boost
CVS state with your own non-boost projects in Boost.Build v1. Details
at
http://www.boost-consulting.com/boost/tools/build/build_system.htm#external_project

RestructuredText version:

Using External Projects
=======================

To use dependencies such as libraries from another project tree, first
use the project rule to declare a project id and location for the
external project. Then add the appropriate external dependency target
specification to your program's list of sources. For example, if you
are developing a program which uses the Boost.Threads library, you
might write::

  project boost : /home/dave/boost-cvs ;

in your Jamrules file, and place::

  @boost/libs/thread/build/boost_thread

in your target's list of sources.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk