build(mk): added debug symbols when building with tests
This commit is contained in:
4
mk
4
mk
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
# Check for the --noTest flag
|
# Check for the --noTest flag
|
||||||
if [[ "$1" == "--noTest" ]]; then
|
if [[ "$1" == "--noTest" ]]; then
|
||||||
meson setup build -Dbuild_tests=false
|
meson setup build -Dbuild_tests=false --buildtype=release
|
||||||
else
|
else
|
||||||
meson setup build -Dbuild_tests=true
|
meson setup build -Dbuild_tests=true --buildtype=debug
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Compile the project
|
# Compile the project
|
||||||
|
|||||||
Reference in New Issue
Block a user