Boost logo

Boost-Build :

From: Van Nguyen (nguyenhaivan78_at_[hidden])
Date: 2005-01-23 01:59:25


Dear jamboost experts,

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>/thread//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?

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

Thanks so much in advance.
Van

__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail

 


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