From dca474290c5a6b722ecd86c5b5f51f91c37ea547 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Tue, 10 Oct 2017 14:08:21 +0100 Subject: Edit cmd-line build instructions to gen IDE files --- build-instructions.md | 2 +- clean-build.sh | 4 ++-- 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 -- cgit v1.2.1