Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing windows static libraries #340

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

MiguelBarro
Copy link
Contributor

Addressing several issues that prevented the build:

  • Util.h definitions didn't take into account the static library case. A new preprocessor definition was added and propagated to avoid __declspec statements on the static case.
  • CMake static library strategy doesn't allow intermediate merging (to avoid duplications surely) and forces the static dependencies to be propagated.
  • Dynamic linking to a static library doesn't make sense unless the dynamic library is a system/runtime one.

@MiguelBarro MiguelBarro force-pushed the feature/windows_libstatic branch from 0eb8802 to bec6afa Compare March 21, 2024 17:13
@MiguelBarro MiguelBarro marked this pull request as ready for review March 21, 2024 17:23
@alanxz alanxz merged commit eb876b9 into alanxz:master Apr 10, 2024
2 checks passed
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