The cpp-starter project is designed as a starting point for creating C++ applications.
It leverages SDL2 for graphical rendering and input handling and provides a modular architecture for scalable development.
- Install dependencies:
$ brew install cmake ninja sdl2 sdl2_ttf sdl2_image sdl2_mixer
- Build:
$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=$(brew --prefix)/bin/ninja -G Ninja -S . -B build
$ cd build
$ ninja
$ ctest
- Run:
$ cd build/src/apps/app-name
$ ./app-name