Added debug build script.
This commit is contained in:
parent
76bf6328b6
commit
0c06cb7a30
22
src/build-debug.sh
Executable file
22
src/build-debug.sh
Executable file
@ -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 "---------------------------------------------------------"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user