mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-06 09:31:39 -05:00
17 lines
273 B
Bash
17 lines
273 B
Bash
![]() |
#!/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
|
||
|
|