|
Boost-Build : |
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
> >
> >
> <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?
>
> You have to put it in the sources:
>
> exe test
> : # sources
> test.cpp
> <lib>../layout # I am assuming "layout" is a library defined
> # in ../Jamfile.
> : # requirements
> <sysinclude>$BOOST_ROOT
> <include>..
> <find-library>bgl-viz
> ;
>
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> <http://us.ard.yahoo.com/SIG=129aos3tj/M=298184.5285298.6392945.3001176/D=groups/S=1707281907:HM/EXP=1093275632/A=2319501/R=0/SIG=11tq0u909/*http://www.netflix.com/Default?mqso=60185353&partid=5285298>
>
>
>
> ------------------------------------------------------------------------
> *Yahoo! Groups Links*
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/jamboost/
> * To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
> <mailto:jamboost-unsubscribe_at_[hidden]?subject=Unsubscribe>
> * 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