aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 8c38b318500dba13893787c4119e9b2c7800a4d9 (plain)
1
2
3
4
5
6
#!/bin/sh -e

dependencies="gtk+-3.0 x11 xrandr libpulse"
includes="$(pkg-config --cflags $dependencies)"
libs="$(pkg-config --libs $dependencies) -ldl"
g++ -o gpu-screen-recorder-gtk -O2 src/main.cpp -s $includes $libs