2012-05-02 20:25:31 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-07-20 13:58:18 +01:00
|
|
|
set -e
|
|
|
|
|
2012-05-02 20:25:31 +01:00
|
|
|
# Default flags
|
|
|
|
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
|
|
|
|
|
|
|
|
# Make for windows and linux
|
|
|
|
cmake $CMFLAGS -D TARGETOS=Win32 . && make
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo "---------------------------------------------------------"
|
|
|
|
echo "Built the Windows binary"
|
|
|
|
|
|
|
|
# Copy to the correct location
|
|
|
|
cp scyther-w32.exe ../gui/Scyther/
|
|
|
|
|
|
|
|
echo Copied the file to the gui/Scyther directory
|
|
|
|
echo "---------------------------------------------------------"
|
|
|
|
|