scyther/src/subbuild-unix-both.sh

23 lines
449 B
Bash
Raw Normal View History

2007-05-03 13:00:00 +01:00
#!/bin/sh
# Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
# Make for windows and linux
cmake $CMFLAGS -D TARGETOS=Win32 . && make
cmake $CMFLAGS . && make
echo
echo
echo "Built the Linux and Windows binaries"
# Copy to the correct locations
cp scyther-linux ../gui/Scyther/Bin
cp scyther-w32.exe ../gui/Scyther/Bin
# bonus...
cp scyther-linux ~/bin
echo Copied the files to their respective locations and ~/bin