SDL C++ Game

Dependencies

brew install cmake
brew install clang-format
brew install emscripten
brew install SDL2
brew install SDL2_image
brew install SDL2_ttf

Build

Native

Using CMake

cmake .
make

or using g++

./bin/build.sh

Format

clang-format -i src/*.cpp includes/**/*.hpp