-Added build dir scripts

main
Harry van Haaren 2013-09-18 11:48:04 +01:00
parent 1b93cc6978
commit a37ee8bdef
3 changed files with 26 additions and 0 deletions

16
build/compile.sh Executable file
View File

@ -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

5
build/debug.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
set -e
gdb --dir=src/ src/luppp

5
build/run.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
#./src/luppp
xterm -e "sleep 1 && aj-snapshot -r lupppDemo" & src/luppp