Symbols not exported when krpc library is compiled in Visual Studio
nullprofile opened this issue ยท 1 comments
Compiling the C++ client library with Visual Studio 2017 results in no .lib being generated.
Adding set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
after line 29 in CMakeLists.txt fixes this. Requires CMake 3.4 or newer.
krpc/client/cpp/CMakeLists.txt.tmpl
Lines 29 to 38 in 70ff446