Add "--release" flag to b.sh

This commit is contained in:
Henrik Rydgård committed 2014-07-20 14:42:41 +02:00
1 parent 5b597db4b5
commit d931eb3ea8
1 file changed
+3
+3
View File
@@ -12,6 +12,9 @@ fi
while test $# -gt 0
do
case "$1" in
--release)
CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Release ${CMAKE_ARGS}"
;;
--headless) echo "Headless mode enabled"
CMAKE_ARGS="-DHEADLESS=ON ${CMAKE_ARGS}"
;;