blob: 5b2fd26559f7d344e50890acedd7b96e5fb15bc7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
echo "Cleaning..."
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" -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
cmake --build cmake-build-release
|