Boost logo

Boost-Build :

Subject: Re: [Boost-build] b2 generation of boundnames
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2018-12-20 03:47:36


AMDG

On 12/19/2018 08:43 PM, Stefan Seefeld via Boost-build wrote:
> <snip>
>> Jamroot:
>> lib static : static.cpp : <link>static ;
>> lib shared : shared.cpp : <link>shared ;
>> exe main : main.cpp static shared ;
>>
>> $ b2 link=static # builds link-static/main.o
>> $ b2 link=shared # builds link-shared/main.o
>
> Ah, so had the two libraries `static` and `shared` not explicit `link`
> properties, they would both be compiled as `shared` and `static` libs
> respectively in the two invocations ?
>

Exactly.

In Christ,
Steven Watanabe


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