Skip to content

Commit 2ac0bc6

Browse files
committed
Minor update to Build.sh
1 parent 2b0a8c7 commit 2ac0bc6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ if [ ! -d $PWD/Build ]; then
55
fi
66
cd Build
77
make clean
8-
echo "Build in Debug mode?"
9-
select yn in "Yes" "No"; do
10-
case $yn in
11-
Yes ) cmake .. -DGAME=$name -DCMAKE_BUILD_TYPE=Debug; break;;
12-
No ) cmake .. -DGAME=$name; break;;
8+
echo "Select the build type: "
9+
select rd in "Release" "Debug"; do
10+
case $rd in
11+
Release ) cmake .. -DGAME=$name; break;;
12+
Debug ) cmake .. -DGAME=$name -DCMAKE_BUILD_TYPE=Debug; break;;
1313
esac
1414
done
1515
make

0 commit comments

Comments
 (0)