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