aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 1a6f660..58b846b 100755
--- a/build.sh
+++ b/build.sh
@@ -45,6 +45,9 @@ if [ "$error" = true ]; then
echo "(default args = --release --solvitaire)"
exit 1
else
+ cmake [-G "CodeBlocks - Unix Makefiles"] \
+ "-DCMAKE_BUILD_TYPE=${build^^}" \
+ "-Bcmake-build-$build" -H.
cmake --build "cmake-build-$build" -- "$target"
exit 0
fi