Another note:
We’ll want to make sure we compile the Windows executable as a static executable. This is important as, unlike *nix systems, Windows doesn’t have a central repository on system for libraries so each program needs to bundle its DLLs with them if built dynamically. The distribution can get a bit messy. Makes it harder to update libraries but the end users aren’t likely to simply download an updated library file anyways
With CMake, this is easily done by checking to see if it’s being run on Windows. Will need to check about Meson.
Edit:
This what Meson uses: https://mesonbuild.com/Compiler-properties.html#system-information