Before building polar-pong, you must download the following prerequisites.
- GLM
- SDL2
- SDL2_ttf
From the root of the repository, run the following commands.
mkdir build && cd build
cmake .. \
-DGLM_ROOT_DIR=/path/to/glm
-DSDL2_ROOT_DIR=/path/to/sdl2
-DSDL2TTF_ROOT_DIR=/path/to/sdl2_ttf
make
If you have installed the frameworks for SDL2 and SDL2_ttf, they should be
discovered automatically, and you should only need to set GLM_ROOT_DIR
.