summaryrefslogtreecommitdiffstats
path: root/mkbuild.sh
blob: e8514abf3c8f73b67fde5bfd151b01d60a74daf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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