- Cleanup of build files

This commit is contained in:
ccremers 2007-05-03 11:32:07 +00:00
parent acb3f6b846
commit 4529fd4bfd
3 changed files with 22 additions and 7 deletions

View File

@ -1,7 +1,13 @@
#!/bin/sh
cmake -DTARGETOS=MacPPC . && make
cmake -DTARGETOS=MacIntel . && make
cmake . && make scyther-mac
# Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
# Make for ppc and intel, and combine into universal binary
cmake $CMFLAGS -D TARGETOS=MacPPC . && make
cmake $CMFLAGS -D TARGETOS=MacIntel . && make
cmake $CMFLAGS . && make scyther-mac
# Copy to the correct locations
./copy2gui.sh

View File

@ -1,8 +1,12 @@
#!/bin/sh
cmake -DTARGETOS=Win32 .
make
cmake .
make
# Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
# Make for windows and linux
cmake $CMFLAGS -D TARGETOS=Win32 . && make
cmake $CMFLAGS . && make
# Copy to the correct locations
./copy2gui.sh

View File

@ -4,3 +4,8 @@ cp scyther-linux ../gui/Scyther/Bin
cp scyther-w32.exe ../gui/Scyther/Bin
cp scyther-mac ../gui/Scyther/Bin
# bonus...
cp scyther-linux ~/bin
echo Copied the files to their respective locations and ~/bin