This is a very minimalistic project template for working with raylib in C++ and CMake I wrote for personal use.
Building and running this project requires CMake, a build system of your choice such as Make, or Ninja and any C++ compiler.
- Download this repository.
- Open the command line inside the repository folder.
- Run
cmake . -B buildto generate a project to build. - Build the project by running
cmake --build build. - You can find the executable inside
./build/raylib_project/
Alternatively, if you are on windows, you can just run build.ps1 to build and run the project automatically.