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..de62eb6
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# I'm a lazy guy
+BDIR="/dev/shm/${PWD##*/}_cmakebuild/"
+mkdir -p bin
+cmake -S . -B "${BDIR}" && ( cd "${BDIR}" ; make ) && find "${BDIR}" -maxdepth 1 -perm /u=x,g=x,o=x -type f -exec cp "{}" bin/ \;
+