BRUTUS: Added special build script.

Originates in newCompromise branch.
This commit is contained in:
Cas Cremers 2010-11-11 12:11:55 +01:00
parent 8ddd955415
commit 266e5fb26b

24
src/build-brutus.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/sh
# Brutus-specific setup
echo "If things don't work, try:"
echo
echo " module load cmake"
echo " module load gcc"
echo
# Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
# Make for windows and linux
cmake $CMFLAGS -D TARGETOS=Unix . && make
echo
echo
echo "---------------------------------------------------------"
echo "Built the Linux binary for Brutus"
# Copy to the correct locations
cp scyther-linux ../gui/Scyther/
cp scyther-linux $HOME/bin/