Boost logo

Boost :

Subject: Re: [boost] 1.67 libraries missing autolink/dependency information
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2018-03-21 05:47:18


On Tue, Mar 20, 2018, 11:15 Roger Leigh via Boost <boost_at_[hidden]>
wrote:

> When updating the CMake FindBoost dependencies for 1.67, it was noted
> that the stacktrace library wasn't being included. Closer examination
> showed that it doesn't have any autolink information in the headers:
>
> grep -R BOOST_LIB_NAME . | grep stacktrace
> grep -R BOOST_LIB_NAME . | grep contract
>
>
> (for example). Does this library work on Windows? Is it expected that
> the autolink information is missing, or is this something which needs
> adding?
>

It is expected.

The Stacktrace library has an ability to change stacktracing without
recompiling the project. For that user should manually change the link
library, without defining any macro.

If that ability is not used, then the library is header only. No linking
required.

>
> The same applies to the "contract" library.
>
> Do either of these libraries have any other dependencies on other Boost
> libraries?
>

All the dependencies of Stacktrace could be discovered from headers that it
includes.

> Thanks,
> Roger
>

P.S.: Thanks for "cmakeing" the Boost!


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk