28 Apr
2024
28 Apr
'24
5:31 p.m.
René Ferdinand Rivera Morell wrote:
Perhaps. Although it's easy enough to find instances of people having problems with it.. ... https://stackoverflow.com/questions/44133002/boost-vs2017-linking-to-the-wro... https://stackoverflow.com/questions/51150197/cmake-generated-program-fails-t...
Note how in both these cases autolink exposes a problem with BOOST_ALL_DYN_LINK not being defined, even though the user is trying to use a Boost .dll. Had BOOST_ALL_DYN_LINK been defined correctly, autolink would have caused no issues (because it would have linked to the same library the build system did.) (Forgetting to define BOOST_ALL_DYN_LINK correctly works... some of the time. When it doesn't, it's pretty hard to figure out what's wrong.)