aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-instructions.md2
-rwxr-xr-xclean-build.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/build-instructions.md b/build-instructions.md
index 1240c7b..85a7043 100644
--- a/build-instructions.md
+++ b/build-instructions.md
@@ -10,7 +10,7 @@ compiler=gcc -s compiler.version=6.3 -s compiler.libcxx=libstdc++11; cd ..`
### Generate Build System
-`cmake -Bcmake-build-[debug|release] -H.`
+`cmake [-G "CodeBlocks - Unix Makefiles"] -DCMAKE_BUILD_TYPE=[DEBUG|RELEASE] -Bcmake-build-[debug|release] -H.`
### Build project
diff --git a/clean-build.sh b/clean-build.sh
index d566226..d037403 100755
--- a/clean-build.sh
+++ b/clean-build.sh
@@ -10,8 +10,8 @@ cd cmake-build-release; conan install .. --build missing -s compiler=gcc \
-s compiler.version=6.3 -s compiler.libcxx=libstdc++11; cd ..
echo "Generating build..."
-cmake -Bcmake-build-debug -H.
-cmake -Bcmake-build-release -H.
+cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=DEBUG --target solitaire_pip -Bcmake-build-debug -H.
+cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=RELEASE --target solitaire_pip -Bcmake-build-release -H.
echo "Building..."
cmake --build cmake-build-debug