Skip to content

Conversation

nightmareci
Copy link

@nightmareci nightmareci commented Aug 21, 2025

I implemented Windows MSVC support via adding SDL as a Git submodule and adding support for building with CMake. The CMake support might work for other platforms as well.

A small change to smolnes.c was simply required to support MSVC, as MSVC doesn't support line continuation of numeric constants. So, I came up with a stylistically-appropriate refactor of that constant that doesn't require such a line continuation.

Edit:
Confirmed the CMake build support also works on Linux, with or without the SMOLNES_VENDORED build option.

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