aboutsummaryrefslogtreecommitdiffstats
path: root/mkbuild.sh
blob: 8e7db5b28e8713dbb3f7290e7f015bb7ec84f0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#/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 \
	-DDIRECT_CYNARA_COMPAT=ON \
	..
make -j