add helper script to set up build directory appropriate for development

This commit is contained in:
Andrei Alexeyev 2017-12-21 07:09:22 +02:00
parent 5b88431e7e
commit b7a9192355
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4

View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
dst="$PWD"
cd "$(dirname "${BASH_SOURCE[0]}")"/.. || exit $?
src="$PWD"
exec meson setup \
--buildtype=debug \
--prefix="$PWD/install" \
-Dstrip=false \
-Db_lto=false \
-Db_ndebug=false \
-Db_sanitize=address,undefined \
"$src" "$dst" "$@"