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 "========================================"
|
|
|
|
./run.sh $@
|