Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-01-06 08:21:35


On Thursday 04 January 2007 04:21, Felipe Magno de Almeida wrote:

[cc for convenience, please reply to list]

> I'm trying to create a project that should be customizable in some ways.
> It is divided in three layers:
> 1. The libray shell, IOW the interface that interacts with the library client.
> 2. The drivers: the lower level libraries, that interact with
> platform-specific code.
> 3. The manager. That is: static_manager or dynamic_manager that allows
> compiling the entire library using one (static) or more (dynamic)
> drivers. Allowing the client to choose between more dynamically
> behavior or faster implementation.
>
> I tried using features to accomodate this scenario but I stumbled on
> the inspection of free features.

What is "inspection"?

> I would like to allow the user to specify one or more drivers, but I
> can't see how.
>
> For the choosing between static or dynamic managers I used propagated
> features and alternatives. But is there an alternative to specify open
> options by the user? These options would become dependencies and/or
> modify the depedencies of other sub-projects.
>
> Does anybody know how can I accomplish this?

In general, "free" features are not propagated. Can you give more detailed
example of what you're trying to do so that I can suggest some other solution?

- Volodya

>
> Thanks,


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