From: Daniel Einspanjer (deinspanjer_at_[hidden])
Date: 2006-03-05 11:40:31
In my source tree, I have a structure loosely similar to:
One of the libraries in util/common is a requirement of all libraries and
executables in our tree with the obvious exception of itself.
I've been looking for a way to express this near universal dependency.
The best I've come up with is putting lines like this in applications
enginecore, util/text, util/numeric and so on:
project : requirements <library>/myproj/util/common//cmnutil
Obviously I can't put it in the project declaration for myproj because it
creates a circular dependency.
I saw one thread last year where Volodya mentioned something about wanting
to be able to "unrequire" something from a project, but this was disputed a
bit and eventually the thread died.
Is there a better way to do this or am I doing the best that is available?
-- Daniel Einspanjer
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