glsl-basic/build.sh

9 lines
239 B
Bash
Executable File

#!/bin/bash
set -e
flags="-DGLFW_USE_WAYLAND=ON" # compile glfw for wayland instead of X11
cmake $flags .
cmake --build .
echo -e "running the program, passing the given args"
echo -e "========================================"
./run.sh $@