Boost logo

Boost-Build :

From: Jeff Holle (jeff.holle_at_[hidden])
Date: 2004-08-21 18:26:41


I'm using Boost.Jam Version 3.1.9. OS=LINUX.
I'm developing a library with a lot of different test programs.
These test programs are placed in subdirectories of the directory where
this library is built (via bjam).

The problem that I'm having is these test program Jamfiles don't know
that the library under developement is a dependency.

A typical Jamfile for these test programs is:
exe test
: # sources
test.cpp
: # requirements
<sysinclude>$BOOST_ROOT
<include>..
<find-library>layout
<debug><library-path>../liblayout.a/gcc/debug/inlining-on
<release><library-path>../liblayout.a/gcc/release/inlining-on
<find-library>bgl-viz

<debug><library-path>$(BOOST_ROOT)/bin/boost/libs/graph/build/libbgl-viz.a/gcc/debug/inlining-on

<release><library-path>$(BOOST_ROOT)/bin/boost/libs/graph/build/libbgl-viz.a/gcc/release/inlining-on
: release debug

Could somebody please tell me how to express the liblayout.a file as a
dependency?

 


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