Skip to content

Conversation

Nerixyz
Copy link

@Nerixyz Nerixyz commented Dec 22, 2024

This reverts commit e08c552 from #289.

The headers aren't duplicated on Windows and CYGWIN. There, CMARK_GFM_EXTENSIONS_EXPORT resolves to __declspec(dllexport) and __declspec(dllimport) depending on whether the dynamic library is built or used. Since cmark-gfm-extensions is a separate shared library, it needs a separate header (it needs to import the stuff from cmark-gfm and export its own things). This can't be done with one exports header from CMake.

This reverts commit e08c552.
The headers aren't duplicated on Windows and CYGWIN.
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