Skip to content

Conversation

eli-schwartz
Copy link

The export header is identical between the main library and the extensions. It is generated from the same template, the libraries share the same properties, and the only difference is that they use different symbol names. Let them share a header.

Further cleanup is possible via commonmark#453

add_compiler_export_flags() is deprecated since CMake 3.0, and was
removed a long time ago in cmark via commit
abf3a7a -- but preserved in cmark-gfm's
modifications.
The export header is identical between the main library and the
extensions. It is generated from the same template, the libraries share
the same properties, and the only difference is that they use different
symbol names. Let them share a header.
@phillmv phillmv merged commit 52c5e07 into github:master Jan 31, 2023
anticomputer pushed a commit to anticomputer/commonmarker that referenced this pull request Apr 6, 2023
cmark-gfm removed the redundant extensions header in
github/cmark-gfm#289
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.

4 participants