|
Boost-Build : |
Subject: Re: [Boost-build] link switches
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2017-11-13 15:00:24
AMDG
On 11/12/2017 10:16 PM, Robert Ramey via Boost-build wrote:
> On 11/12/17 4:31 PM, Steven Watanabe via Boost-build wrote:
>>
>> Pass the shared library as an 'input-file' and get the
>> name from the command line inside the test program.
>
> OK - but how does one get the name of the shared library file from
> within b2? In this case it would be : libpolymorphic_derived2.so.1.66.0
>
You don't need to. The input-files argument expects
a target. b2 will automatically resolve it to the
actual file name.
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