summaryrefslogtreecommitdiffstats
path: root/mkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkbuild.sh')
-rwxr-xr-xmkbuild.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/mkbuild.sh b/mkbuild.sh
new file mode 100755
index 0000000..e8514ab
--- /dev/null
+++ b/mkbuild.sh
@@ -0,0 +1,15 @@
+#/bin/sh
+
+set -e
+h=$(dirname $0)
+mkdir -p $h/build
+cd $h/build
+[ "$1" = "-f" ] && rm -r *
+cmake \
+ -DCMAKE_BUILD_TYPE=Debug \
+ -DCMAKE_INSTALL_PREFIX=~/.local \
+ -DWITH_SYSTEMD=ON \
+ -DWITH_CYNARA_COMPAT=ON \
+ ..
+make -j
+