miki151 / keeperrl

Source code of KeeperRL
GNU General Public License v2.0
874 stars 111 forks source link

Support building on Windows via cmake #2051

Closed Rob2309 closed 7 months ago

Rob2309 commented 7 months ago

This PR aims to support natively building on windows via cmake. Currently, a debug and release build should work on a windows machine with the required dependencies built from source with cmake. The dependencies should be included in the CMAKE_PREFIX_PATH.

On top of that, multiple instances of undefined behavior and/or unportable code were fixed.