Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-06-17 09:49:59


Aleksey Gurtovoy <alexy_at_[hidden]> writes:

> David Abrahams writes:
>> Dang. I'll try HTML-ifying and Cc you so you can't miss it:
>>
>> bjam &quot;-sBUILD=&lt;dmc&gt;&lt;*&gt;&lt;runtime-link&gt;&lt;static&quot;
>
> Doesn't have any effect. "-sBUILD=&lt;runtime-link&gt;&lt;static"
> does, but naturally affects all the toolsets.

Is your toolset really named "dmc"? If not, you need the actual name
of the toolset in the first angle brackets.

>> It was meant to be more like:
>>
>> {
>> local v = BUILD ;
>> if ! $(BUILD)
>> {
>> v = DEFAULT_BUILD ;
>> }
>> if ! &lt;dmc&gt;&lt;*&gt;&lt;runtime-link&gt;static in $($(v))
>> {
>> $(v) += &lt;dmc&gt;&lt;*&gt;&lt;runtime-link&gt;static
>
> Did you miss a semi-colon?

Yep.

> If I add one, the bjam eats it but stops
> building anything (just says "... found N targets..." and quits).

O gawd, this is ridiculous. Well let me know if the toolset name is
in fact "dmc" and we'll go from there.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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