forked from gerstrong/Commander-Genius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makeAllBuilds.sh
executable file
·25 lines (20 loc) · 1009 Bytes
/
makeAllBuilds.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# Windows Version
cmake . -DBUILD_TARGET=WIN32 -DCMAKE_BUILD_TYPE=Release -DOGG=yes -DTREMOR=NO
make package -j 4
rm CMakeFiles -R
# Linux 64-bit Version
cmake . -DDBFUSION=yes -DBUILD_TARGET=LINUX -DBUILD_ARCH=amd64 -DCMAKE_BUILD_TYPE=Release -DOGG=yes -DTREMOR=NO -DUSE_SDL2=yes -DCREATE_DEBS=1 -DCREATE_RPMS=1
#make package_source
make package -j 4
rm CMakeFiles -R
# Linux 32-bit Version
#cmake . -DBUILD_TARGET=LINUX -DBUILD_ARCH=i386 -DCMAKE_BUILD_TYPE=Release -DOGG=yes -DTREMOR=NO -DCREATE_DEBS=1 -DCREATE_RPMS=1
#make package -j 4
#rm CMakeFiles -R
#clean up the packaged files
rm _CPack_Packages -R
# upload the packages
#rsync -e ssh CG-SVN-${dt}-win32.zip gerstrong,clonekeenplus@frs.sourceforge.net:/home/frs/project/c/cl/clonekeenplus/
#rsync -e ssh CCG-SVN-${dt}-linux32.zip gerstrong,clonekeenplus@frs.sourceforge.net:/home/frs/project/c/cl/clonekeenplus/
#rsync -e ssh CG-SVN-${dt}-linux64.zip gerstrong,clonekeenplus@frs.sourceforge.net:/home/frs/project/c/cl/clonekeenplus/