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
Stephen Crowley
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
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
participants (2)
-
David Abrahams
-
Stephen Crowley