aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthecharlesblake2017-10-10 14:08:21 +0100
committerthecharlesblake2017-10-13 18:46:14 +0100
commitdca474290c5a6b722ecd86c5b5f51f91c37ea547 (patch)
tree62cafecd1721367eb524b4bb81846157bcde7106
parentAdd compile options and integrate into build (diff)
downloadmetasol-dca474290c5a6b722ecd86c5b5f51f91c37ea547.tar.gz
metasol-dca474290c5a6b722ecd86c5b5f51f91c37ea547.zip

Edit cmd-line build instructions to gen IDE files

-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