Make sure that glm and SDL2 are installed. Ideally, these should be installed by your package manager rather than manually (at least, if you are on Linux or Mac).
Then compile the code using the standard CMake procedure:
- The first time, run
cmake -B build
from the project root to create abuild/
directory and initialize a build system there. - Then, every time you want to compile the code, run
cmake --build build
(again from the project root). Then the example programs will be created underbuild/
.