Skip to content

cmake: make sure the dll game is built as module, not as static library#1607

Merged
illwieckz merged 1 commit intomasterfrom
illwieckz/dll-module
Mar 17, 2025
Merged

cmake: make sure the dll game is built as module, not as static library#1607
illwieckz merged 1 commit intomasterfrom
illwieckz/dll-module

Conversation

@illwieckz
Copy link
Copy Markdown
Member

@illwieckz illwieckz commented Mar 17, 2025

Make sure the dll game is built as module, not as static library.

Fixup for:

This wasn't caught by the CI, but a bug in #1555 made the dll game being compiled to cgame-native-dll.a instead of cgame-native-dll.so. Also, this hid another bug where CMake would overwrite COMPILE_DEFINITIONS and then lose the BUILD_VM_IN_PROCESS definition.

@illwieckz
Copy link
Copy Markdown
Member Author

I merge this quickly because it fixes a regression breaking the build, and we better not merge anything between the breakage and the fix, to limit the impact on future bisects.

@illwieckz illwieckz merged commit e4ee666 into master Mar 17, 2025
10 checks passed
@illwieckz illwieckz deleted the illwieckz/dll-module branch March 17, 2025 19:43
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