README (438B)
1 First you need a copy of the SDL source: 2 3 git clone https://github.com/libsdl-org/SDL.git vendored/SDL 4 5 You also need cmake installed (and emscripten if you're building for web). On FreeBSD: 6 7 pkg install cmake emscripten 8 9 Local build: 10 11 cmake -S . -B build 12 cmake --build build 13 14 You'll want to run the binary from the base directory so asset paths are correct: 15 16 build/ff 17 18 Web: 19 20 emcmake cmake -S . -B build 21 cd build 22 emmake make 23 24 Have fun <3