Hello,
I’m currently migrating an Open Source lib into a package manager using CMake.
During my testing, I found that CMake exports “==” to “exports.def” when using CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (Required in the current state of the lib). This only happens during debug builds.
Does anybody have any advice on how to prevent that, or is this a bug and I should file an issue on GitLab?
Thanks in Advance!
Edit:
Compiler Output:
exports.def : error LNK2001: Nicht aufgelöstes externes Symbol "=". [C:\Users\z003x0uk\.conan2\p\b\nanafcdbcb5d6582f\b\build\nana.vcxproj]
C:/Users/z003x0uk/.conan2/p/b/nanafcdbcb5d6582f/b/build/Debug/nana.lib : fatal error LNK1120: 1 nicht aufgelöste Externe [C:\Users\z003x0uk\.conan2\p\b\nanafcdbcb5d6582f\b\build\nana.vcxproj]
exports.def (relevant part):
?wave_native_if@detail@audio@nana@@3Vwave_native@123@A DATA
==
??$?0$$BY0BAE@_W$0A@@path@filesystem@std@@QEAA@AEAY0BAE@$$CB_WW4format@012@@Z