Add --reldebug to b.sh, useful when valgrinding

This commit is contained in:
Henrik Rydgård 2023-04-27 12:06:06 +02:00
parent 68be93467e
commit ff2475b37f

3
b.sh
View File

@ -47,6 +47,9 @@ do
--debug)
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug ${CMAKE_ARGS}"
;;
--reldebug)
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=RelWithDebInfo ${CMAKE_ARGS}"
;;
--headless) echo "Headless mode enabled"
CMAKE_ARGS="-DHEADLESS=ON ${CMAKE_ARGS}"
;;