I used MinGW for the Windows build, so basically the same as Linux but you'll need to use MSYS, MinGW, etc. to compile it. I would recommend using ninja with cmake, so ``cmake .. -G Ninja `` and then ``ninja`` in the build directory.
Make sure you have Emscripten all configured with all the needed ports (see above).
Then:
`mkdir build`
`cd build`
`emcmake cmake ..`
`emmake make`
Make sure you've got the resources folder and that it's placed in the same directory as the executable. You can get that [here](https://shweetz.net/files/games/calamity-cobra-resources-1.2.7z).