Oh, and this is with building shared DLLs of course.
Exported symbol errors compiling under MSVC 2022 with CMake project