scyther/src/build-debug.sh

26 lines
516 B
Bash
Raw Normal View History

2008-05-27 16:21:45 +01:00
#!/bin/sh
2012-05-02 16:15:50 +01:00
# Store version number in version.h
./describe-version.py
2008-05-27 16:21:45 +01:00
# Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Debug"
# Make for linux
cmake $CMFLAGS . && make
echo
echo
echo "---------------------------------------------------------"
echo "Built the Linux binary"
# Copy to the correct location
cp scyther-linux ../gui/Scyther/
# bonus...
cp scyther-linux ~/bin
echo Copied the file to the gui directory and \~/bin
echo "---------------------------------------------------------"