An example project to demonstrate using SDL2 in CMake, building from submodules.
Clone the repository. Recurse the submodules.
git clone https://github.com/MajorArkwolf/SDL2-CMake-Barebones.git
git submodule update --init --recursive --depth 1
Configure, build, and run the project.
cmake -S . -B build && cmake --build build && ./build/sdl2-example
This project is licensed under the ISC license. Please see the LICENSE.md
file for details.