glsl-basic/build.sh

10 lines
299 B
Bash
Raw Normal View History

2023-10-13 10:25:05 +02:00
#!/bin/bash
set -e
2023-10-18 10:12:05 +02:00
flags="-DGLFW_USE_WAYLAND=ON" # compile glfw for wayland instead of X11
cmake $flags .
2023-10-13 10:25:05 +02:00
cmake --build .
2023-10-18 11:02:08 +02:00
echo -e "running the program, passing the given args"
echo -e "========================================"
2023-10-18 19:48:48 +02:00
# shellcheck disable=SC2046 # Intended splitting of OPTIONS
2023-10-18 11:02:08 +02:00
./run.sh $@