add helper script to set up build directory appropriate for development
This commit is contained in:
parent
5b88431e7e
commit
b7a9192355
1 changed files with 14 additions and 0 deletions
14
scripts/setup-devel-build-dir.sh
Executable file
14
scripts/setup-devel-build-dir.sh
Executable 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" "$@"
|
Loading…
Reference in a new issue