box3d/build.sh
2026-05-10 13:36:52 -07:00

9 lines
273 B
Shell

#!/usr/bin/env bash
# Use this to build Box3D on any system with a bash shell
rm -rf build
# I haven't been able to get Wayland working on WSL but X11 works.
# https://www.glfw.org/docs/latest/compile.html
cmake -S . -B build -DGLFW_BUILD_WAYLAND=OFF
cmake --build build