Skip to content

Fix Windows wheel build#2

Merged
lnagel merged 4 commits into
mainfrom
fix/windows-build
Feb 16, 2026
Merged

Fix Windows wheel build#2
lnagel merged 4 commits into
mainfrom
fix/windows-build

Conversation

@lnagel
Copy link
Copy Markdown
Member

@lnagel lnagel commented Feb 16, 2026

Summary

  • Re-enable Windows in cibuildwheel matrix
  • Use CMAKE_SKIP_INSTALL_RULES to avoid upstream PDB generator expression errors
  • Run wheel builds on PRs for testing

Context

Upstream src/CMakeLists.txt has unconditional $<TARGET_PDB_FILE:...> references that fail with static builds on Windows. See open-eid/libdigidocpp#715.

🤖 Generated with Claude Code

lnagel and others added 3 commits February 16, 2026 14:54
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
CMAKE_SKIP_INSTALL_RULES doesn't prevent generator expression
evaluation. Override install() as a conditional no-op instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Two issues:
1. Override install() as no-op during add_subdirectory to prevent
   TARGET_PDB_FILE errors on static/missing targets
2. Define digidocpp_EXPORTS on static lib targets to prevent
   __declspec(dllimport) errors (C2491)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lnagel lnagel merged commit f5ed716 into main Feb 16, 2026
6 checks passed
@lnagel lnagel deleted the fix/windows-build branch February 16, 2026 15:55
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