replxx icon indicating copy to clipboard operation
replxx copied to clipboard

Fix export/import of DLL symbols

Open SpaceIm opened this issue 2 years ago • 0 comments

  • Remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS, which is unnecessary when symbols are properly exported
  • Do not define REPLXX_BUILDING_DLL at consume time. It must be PRIVATE, you don't want dllexport at consume time, only dllimport
  • Add missing REPLXX_IMPEXP in front of several functions in public headers.

SpaceIm avatar Oct 14 '23 09:10 SpaceIm