- Cleanup of build files
This commit is contained in:
parent
acb3f6b846
commit
4529fd4bfd
@ -1,7 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cmake -DTARGETOS=MacPPC . && make
|
# Default flags
|
||||||
cmake -DTARGETOS=MacIntel . && make
|
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
|
||||||
cmake . && make scyther-mac
|
|
||||||
|
# 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
|
./copy2gui.sh
|
||||||
|
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cmake -DTARGETOS=Win32 .
|
# Default flags
|
||||||
make
|
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
|
||||||
cmake .
|
|
||||||
make
|
# Make for windows and linux
|
||||||
|
cmake $CMFLAGS -D TARGETOS=Win32 . && make
|
||||||
|
cmake $CMFLAGS . && make
|
||||||
|
|
||||||
|
# Copy to the correct locations
|
||||||
./copy2gui.sh
|
./copy2gui.sh
|
||||||
|
|
||||||
|
@ -4,3 +4,8 @@ cp scyther-linux ../gui/Scyther/Bin
|
|||||||
cp scyther-w32.exe ../gui/Scyther/Bin
|
cp scyther-w32.exe ../gui/Scyther/Bin
|
||||||
cp scyther-mac ../gui/Scyther/Bin
|
cp scyther-mac ../gui/Scyther/Bin
|
||||||
|
|
||||||
|
# bonus...
|
||||||
|
cp scyther-linux ~/bin
|
||||||
|
|
||||||
|
echo Copied the files to their respective locations and ~/bin
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user