scyther/src/subbuild-unix-both.sh

25 lines
574 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
2007-05-03 14:21:43 +01:00
echo "---------------------------------------------------------"
2007-05-03 13:00:00 +01:00
echo "Built the Linux and Windows binaries"
# Copy to the correct locations
cp scyther-linux ../gui/Scyther/
cp scyther-w32.exe ../gui/Scyther/
2007-05-03 13:00:00 +01:00
# bonus...
cp scyther-linux ~/bin
2007-05-03 14:21:43 +01:00
echo Copied the files to their respective locations and \~/bin
echo "---------------------------------------------------------"
2007-05-03 13:00:00 +01:00