diff --git a/build/compile.sh b/build/compile.sh new file mode 100755 index 0000000..227873b --- /dev/null +++ b/build/compile.sh @@ -0,0 +1,16 @@ +#!/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 + diff --git a/build/debug.sh b/build/debug.sh new file mode 100755 index 0000000..e45d5f0 --- /dev/null +++ b/build/debug.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e + +gdb --dir=src/ src/luppp diff --git a/build/run.sh b/build/run.sh new file mode 100755 index 0000000..36c3be2 --- /dev/null +++ b/build/run.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +#./src/luppp + +xterm -e "sleep 1 && aj-snapshot -r lupppDemo" & src/luppp