boostorg / test

The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
http://boost.org/libs/test
Boost Software License 1.0
183 stars 140 forks source link

Library-specific _NO_LIB macros should be recognized and disable autolink #339

Closed pdimov closed 11 months ago

pdimov commented 2 years ago

The library-specific _DYN_LINK macros defined by the CMake config files are recognized (https://github.com/boostorg/test/commit/625bafd2cdc3e9a6f338573a17558050e2bd0e58) but the library-specific _NO_LIB macros are not.

This used to not matter because the config files used to define BOOST_ALL_NO_LIB, but they define the library-specific _NO_LIB macros now.

Ref: https://lists.boost.org/Archives/boost/2022/06/253153.php

pdimov commented 11 months ago

Ping? Autolink is still active which is at the moment visible in e.g. https://github.com/boostorg/boost_install/actions/runs/7232627306/job/19707018584#step:4:440 because the autolink version in Config is still not updated so it tries to autolink to 1.84.

pdimov commented 11 months ago

I believe that https://github.com/boostorg/test/pull/406 is the fix for this.