From 0c06cb7a30c2c384ff6357f027cf5bd477ca3f8c Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Tue, 27 May 2008 17:21:45 +0200 Subject: [PATCH] Added debug build script. --- src/build-debug.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 src/build-debug.sh diff --git a/src/build-debug.sh b/src/build-debug.sh new file mode 100755 index 0000000..69ede6f --- /dev/null +++ b/src/build-debug.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# 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 "---------------------------------------------------------" +