Skip to content

Fix export/import of DLL symbols#151

Open
SpaceIm wants to merge 2 commits into
AmokHuginnsson:masterfrom
SpaceIm:fix/windows-dllexport
Open

Fix export/import of DLL symbols#151
SpaceIm wants to merge 2 commits into
AmokHuginnsson:masterfrom
SpaceIm:fix/windows-dllexport

Conversation

@SpaceIm

@SpaceIm SpaceIm commented Oct 14, 2023

Copy link
Copy Markdown
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant