glsl-basic/build.sh

10 lines
299 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 "========================================"
# shellcheck disable=SC2046 # Intended splitting of OPTIONS
./run.sh $@