Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-08 23:50:33


Stephen Crowley <stephenc_at_[hidden]> writes:

> I have a library that depends on boost and is built with bjam.
>
> It puts sepearate targets in
> $(BAYES_ROOT)/target/bin/libBayesFilter.a/gcc/release/runtime-link-dynamic/libBayesFilter.a
> and the other debug directory as well.
>
> I am also working on a library using the same system that must link with
> libBayesFilter.
>
> My question is, how do I specify the library dependency on BayesFilter
> properly without having to specify the complete path to the target directory
> (which will change depending on the build features specified).
>
> I tried <lib>$(BAYES_ROOT)/BayesFilter/BayesFilter
>
> but it dies with:
>
> unknown dependent target
> <IdentityTest!/!home!stephenc!cvs!Bayes++!BayesFilter>libBayesFilter.a
>
> Am i missing something?

Hi Stephen,

Boost.Build v1 doesn't support cross-project build dependencies. If
you bring your question to the jamboost list at yahoogroups
(http://groups.yahoo.com/group/jamboost/ or
news://gmane.comp.lib.boost.build) we'll be pleased to try and help
you there!

Best Regards,

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net