Loopp/build/compile.sh

17 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