scyther/src/subbuild-unix-w32.sh
Cas Cremers 2ba0de6abc New refactoring of build system for linux, should be clearer.
We also avoid building the w32 binary by default.
2012-06-12 23:12:14 +02:00

20 lines
437 B
Bash
Executable File

#!/bin/sh
# 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 "---------------------------------------------------------"