blob: ce17b8ad837928dfeb6beefa09c5961b3fa34a51 (
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++ -DCMAKE_BUILD_TYPE=DEBUG --target solvitaire -Bcmake-build-debug -H.
cmake -G "CodeBlocks - Unix Makefiles" -D CMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=RELEASE --target solvitaire -Bcmake-build-release -H.
echo "Building..."
cmake --build cmake-build-debug
cmake --build cmake-build-release
|