29 Apr
2024
29 Apr
'24
8:15 a.m.
Alexander Grund wrote:
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.
One reason against autolink: It decides the use of static vs dynamic libraries depending on a preprocessor define, good luck getting that right in a portable way...
The preprocessor define is necessary for things to work, so autolink is correct to decide based on it.