Skip to content

Windows: properly support shared library build#93

Merged
dacap merged 1 commit intodacap:mainfrom
mwestphal:support_shared_windows
Feb 21, 2026
Merged

Windows: properly support shared library build#93
dacap merged 1 commit intodacap:mainfrom
mwestphal:support_shared_windows

Conversation

@mwestphal
Copy link
Copy Markdown
Contributor

It looks like BUILD_SHARED_LIBS=ON was not considered on Windows before, this fixes it by:

  • Installing the DLL using RUNTIME DESTINATION
  • Exporting all the symbols (which really should be done symbol by symbol in the lib)

I agree that my contributions are licensed under the MIT License.
You can find a copy of this license at https://opensource.org/licenses/MIT

@dacap dacap self-assigned this Feb 21, 2026
@dacap
Copy link
Copy Markdown
Owner

dacap commented Feb 21, 2026

Thanks again @mwestphal! I'll merge this as it is. I have plans to include a CLIP_DLL macro to import/export functions/classes in a near future.

@dacap dacap merged commit 99da25e into dacap:main Feb 21, 2026
10 checks passed
@mwestphal
Copy link
Copy Markdown
Contributor Author

Thanks for the merge! Do you plan to do a release soon ? :)

mwestphal added a commit to mwestphal/f3d that referenced this pull request Feb 21, 2026
@dacap
Copy link
Copy Markdown
Owner

dacap commented Feb 23, 2026

:) I'll try to tag a release today, probably adding explicit exports/imports and adding the shared version to github workflows.

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.

2 participants