diff options
| author | thecharlesblake | 2017-10-12 22:51:32 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-13 18:46:14 +0100 |
| commit | b288d43d7eb229ac68fbbe10bba1e58d359ee4e7 (patch) | |
| tree | 7cbca974fe21c567ed945a8960df9183aac089b5 /clean-build.sh | |
| parent | Add project tools document (diff) | |
| download | metasol-b288d43d7eb229ac68fbbe10bba1e58d359ee4e7.tar.gz metasol-b288d43d7eb229ac68fbbe10bba1e58d359ee4e7.zip | |
Add basic travis file
Diffstat (limited to 'clean-build.sh')
| -rwxr-xr-x | clean-build.sh | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/clean-build.sh b/clean-build.sh index d037403..5b2fd26 100755 --- a/clean-build.sh +++ b/clean-build.sh @@ -1,17 +1,12 @@ #!/bin/sh echo "Cleaning..." -rm -r cmake-build-release/*; rm -r cmake-build-debug/* - -echo "Installing..." -cd cmake-build-debug; conan install .. --build missing -s compiler=gcc \ - -s compiler.version=6.3 -s compiler.libcxx=libstdc++11; cd .. -cd cmake-build-release; conan install .. --build missing -s compiler=gcc \ - -s compiler.version=6.3 -s compiler.libcxx=libstdc++11; cd .. +rm -rf cmake-build-debug; mkdir cmake-build-debug; +rm -rf cmake-build-release; mkdir cmake-build-release; echo "Generating build..." -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. +cmake -G "CodeBlocks - Unix Makefiles" -D CMAKE_CXX_COMPILER=g++-6 -DCMAKE_BUILD_TYPE=DEBUG --target solvitaire -Bcmake-build-debug -H. +cmake -G "CodeBlocks - Unix Makefiles" -D CMAKE_CXX_COMPILER=g++-6 -DCMAKE_BUILD_TYPE=RELEASE --target solvitaire -Bcmake-build-release -H. echo "Building..." cmake --build cmake-build-debug |
