The project is intended to be cross platform. Only instructions for building on Windows are given.
This project is most easily built in Windows using Vcpkg.
The following instuctions use vcpkg to fulfill dependencies, and build a dynamically linked executable.
vcpkg install assimp:x64-windows \
sdl2:x64-windows \
glm:x64-windows \
stb:x64-windows
cmake -A x64 -B build -S . -DCMAKE_TARGET_TRIPLE="x64-windows" -DCMAKE_TOOLCHAIN_FILE="C:\path\to\vcpkg\scipts\buildsystems\vcpkg.cmake"
cmake --build build --config release
cmake --install build --prefix .
Generating the build configuration in the following manner creates a test application that is statically linked.
vcpkg install assimp:x64-windows-static \
sdl2:x64-windows-static \
glm:x64-windows-static
cmake -A x64 -B build -S . -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_TOOLCHAIN_FILE="C:\path\to\vcpkg\scipts\buildsystems\vcpkg.cmake"