From: Jeff Holle (jeff.holle_at_[hidden])
Date: 2004-08-22 12:36:55
I've already tried <lib>../layout as a source.
With it bjam errors with:
unknown dependent target <@cycleDetector!..>liblayout.a
This may have everything to do with my Jamrules file.
I have such files in my .. file containing:
project boost : $(BOOST_ROOT) ;
Can you sugguest another solution?
David Abrahams wrote:
> Jeff Holle <jeff.holle_at_[hidden]> writes:
> > I'm using Boost.Jam Version 3.1.9. OS=LINUX.
> The question is always, "which version of Boost.Build?" I think
> you're using v1.
> > 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
> > : release debug
> > Could somebody please tell me how to express the liblayout.a file as a
> > dependency?
> You have to put it in the sources:
> exe test
> : # sources
> <lib>../layout # I am assuming "layout" is a library defined
> # in ../Jamfile.
> : # requirements
> Dave Abrahams
> Boost Consulting
> *Yahoo! Groups Sponsor*
> *Yahoo! Groups Links*
> * To visit your group on the web, go to:
> * To unsubscribe from this group, send an email to:
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
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