aboutsummaryrefslogtreecommitdiff
path: root/extra/glslang/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/glslang/build')
-rwxr-xr-xextra/glslang/build11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/glslang/build b/extra/glslang/build
new file mode 100755
index 00000000..e9017458
--- /dev/null
+++ b/extra/glslang/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -Bbuild \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TYPE=Release
+
+cmake --build build
+cmake --install build