beast icon indicating copy to clipboard operation
beast copied to clipboard

Remove unused dependencies in build scripts

Open alandefreitas opened this issue 3 years ago • 0 comments

The tests on s390x (#2389) failed because boost.coroutine doesn't work on s390x. To fix it (#2469) we need to conditionally remove the example targets that depend on coroutine.

Both the CMake and B2 scripts are globally linking all targets (even interface targets) to all dependency targets instead of linking only to the targets they depend on.

For instance, CMakeLists.txt links everything to Boost::coroutine and Jamfile links all tests and many examples to boost.coroutine, even though only a few examples depend on it.

alandefreitas avatar Jun 22 '22 19:06 alandefreitas