Add more logging levels
This commit is contained in:
@@ -3,7 +3,16 @@ set -euo pipefail
|
||||
|
||||
export CC=clang
|
||||
|
||||
meson setup build --reconfigure
|
||||
LOG_LEVEL=1
|
||||
for arg in "${@}"; do
|
||||
case "${arg}" in
|
||||
-v) LOG_LEVEL=2 ;;
|
||||
-vv) LOG_LEVEL=3 ;;
|
||||
-vvv) LOG_LEVEL=4 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
meson setup build --reconfigure -Dc_args="-DLOG_LEVEL=${LOG_LEVEL}"
|
||||
meson compile -v -C build
|
||||
|
||||
sector_size=512
|
||||
|
||||
Reference in New Issue
Block a user