aboutsummaryrefslogtreecommitdiff
path: root/extra/vulkan-loader/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-10-05 16:52:34 +0200
committerCem Keylan <cem@ckyln.com>2024-10-05 16:52:34 +0200
commit9d831c9766337ccfdec78877dd5acbf39d88e55d (patch)
treedbd64655546fdd0f82c9e0d82a87d14a6c31d53f /extra/vulkan-loader/build
parentbe9e149df2ae9a66d524465a69aaff4d53d3ccba (diff)
downloadrepository-9d831c9766337ccfdec78877dd5acbf39d88e55d.tar.gz
vulkan-loader: move to extra
Diffstat (limited to 'extra/vulkan-loader/build')
-rwxr-xr-xextra/vulkan-loader/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/vulkan-loader/build b/extra/vulkan-loader/build
new file mode 100755
index 00000000..0d9bbdaa
--- /dev/null
+++ b/extra/vulkan-loader/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -Wno-dev \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTS=OFF
+
+cmake --build build
+cmake --install build