Boost logo

Boost-Build :

From: Motonari Ito (motonarii_at_[hidden])
Date: 2008-05-15 12:15:59

Hi Jurko,

> Don't have the time to come up with a working example at the moment
>but one way to do it would be to add a custom command line parameter
>(use the MATCH to scan for it, for example see how the --built-type
>parameter is implemented in the Boos library's Jamroot file). Note that

>then you would need to tunnel the value passed on the command line to
>the appropriate target property.

It worked!

local install-dir = [ MATCH "^--install-dir=(.*)" : [ modules.peek :
ARGV ] ] ;
exe aaa : [ glob *.cpp ] ;
install dist : aaa : <location>$(install-dir) ;

% bjam --install-dir=foo

> Another way would be to use Boost Build's target specific
>I believe the syntax is something like:

I could not find a way to specify target specific properties in

Well, anyway, my problem is solved. Thank you for your help!

> P.S.
> Do not know the language, so I was wondernig which is the name and
> whic is the surname ? :-)

I intentionally put the first name before the surname to adapt to
culture, so Motonari is the first name. The surname generally comes
in Japanese language :-)

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at