Commit graph

5 commits

Author SHA1 Message Date
Dominic Szablewski
de13e2af82 Fix sokol build on linux 2023-09-04 16:48:53 +02:00
Dominic Szablewski
b23efa3a52 Fix case of defines 2023-09-04 16:36:58 +02:00
Stephen Gregoratto
2b3fcaaf0b Include 3rd-party libs as system headers
Now, the compiler will only report errors in our code and not in any of
these headers.
2023-09-04 01:12:05 +10:00
Stephen Gregoratto
53d260d632 fixup 2023-09-04 01:11:21 +10:00
Stephen Gregoratto
98ad9b0679 Build with CMake.
Tested building with SDL2 + Sokol on:

- Windows with clang-cl 16
	- GLEW/SDL2 built using vcpkg.
- Arch Linux with the `sdl2`/`glew` packages.
- macOS 13.5 with SDL2 via homebrew.
- Emscripten using the Arch Linux `emscripten` package.
- Mingw toolchain with the GLEW/SDL2 packages installed:
	- On Arch Linux with the mingw packages.
	- On Windows using MSYS2 with the ucrt packages.
2023-09-02 23:15:07 +10:00