couch/cmake-builds.sh
2021-03-16 13:33:49 -05:00

19 lines
209 B
Bash
Executable File

#!/bin/bash
set -e
cd `dirname $0`
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make
cd ..
mkdir -p build-win/
cd build-win
x86_64-w64-mingw32-cmake ..
make
cd ..
echo "All builds successful"