|
Boost-Build : |
Subject: Re: [Boost-build] An option to prepend paths to %PATH% before executing a test built with a toolset
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-10-21 15:37:26
On 21/10/2015 0:21, Edward Diener wrote:
> Thanks ! I will look at using your technique. Are you sure that
> 'link=static runtime-link=static' on the command line overrides whatever
> a library's testing jam file might specify ? I recall that some
> non-header only libraries might insist on testing out their
> functionality using a DLL version of their library ( I think Boost
> serialization, for one, does this, but there may be others ).
I haven't checked that, but at least the serialization jamfile seems to
support static linking (it does define BOOST_SERIALIZATION_DYN_LINK=1
when <link> is shared, but that's only to correctly define the
dllexport/dllimport macros).
I have this setting to test my libraries which have no linking requirements.
Good luck,
Ion
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