|
Boost-Build : |
Subject: [Boost-build] how to add a dependency to a dependency
From: Stjepan Rajko (stjepan.rajko_at_[hidden])
Date: 2009-01-20 16:43:52
Hello,
I need to add a dependency to a library dependency. I have a GUI
library that can support multiple underlying window managers, and in
some cases, it is the task of the user of the GUI library to specify
how to link/include the window manager files.
For example, I might have a scenario like this:
B: a window manager library
G: a GUI library (can work with B, but knows nothing about the
location of "B" include files on the system)
Gplus: a library that is based on G
E: an executable that wants to use Gplus with the B window manager
The goal is to allow E to specify that G/Gplus should use B:
exe E : ... : <library>Gplus<use_window_manager>B ;
The desired effect is that B would get added to the requirements /
usage-requirements of G.
I've tried a bunch of things to get this or similar to work but keep
getting nowhere. Can someone tell me how to do this?
I can provide more information if it's not clear what I'm trying to
do, or if you're interested in what I tried unsuccessfully.
Thanks,
Stjepan
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