aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..05603db
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+dependencies="gtk+-3.0 x11 xrandr libpulse"
+includes="$(pkg-config --cflags $dependencies)"
+libs="$(pkg-config --libs $dependencies)"
+g++ -o gpu-screen-recorder-gtk -O2 src/main.cpp -s $includes $libs