Loopp/build/compile.sh
2013-09-18 11:48:04 +01:00

16 lines
273 B
Bash
Executable file

#!/bin/bash
# A simple script to invoke cmake with the correct parameters to build the
# release version of Luppp
function err_handle {
notify-send -t 0 -u critical "Luppp: Release build FAILED!"
}
trap 'err_handle' ERR
set -e
cmake -DRELEASE_BUILD=1 ../
make -j 2