Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-01-24 02:52:22


Hi Van,

> I have a question regarding to declaration of a new
> feature. I want to build a target, default is to use
> an existing dll file specified in site-config.jam, and
> if user explicitly specify, build the dll files from a
> list of libraries.
>
> As I followed the parallelism example from BBv2 user
> manual, I have:
>
> feature ps : use build : composite ;
> feature.compose <ps>use :
> <library>/site-config//psLib/<toolset>gcc ;
> feature.compose <ps>build :
> <library>/ut//utLib/<library>/um//umLib/<library>/misc//miscLib/<library>/t
>hread//threadLib/<toolset>gcc ;
>
> So if I have <ps>use or <ps>build in my Jamfile, it
> works just fine. But if I do it from the command line
> "bjam ps=build" it gives me "duplicate name of actual
> target" error. What should I do to fix this?

Please post a self-contained test-case and I'll see what can be done.

> Also, is there a way to "alias" the list of libraries
> to be built for <ps>build?

I don't understand the question, sorry. Could you try to be more specific?

- Volodya

 


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