makeAllBuilds.sh 1009 Bytes
Newer Older
1 2 3
#!/bin/sh

# Windows Version
Gerhard Stein's avatar
Gerhard Stein committed
4
cmake . -DBUILD_TARGET=WIN32 -DCMAKE_BUILD_TYPE=Release -DOGG=yes -DTREMOR=NO 
Gerhard Stein's avatar
Gerhard Stein committed
5
make package -j 4
Gerhard Stein's avatar
Gerhard Stein committed
6
rm CMakeFiles -R
7 8

# Linux 64-bit Version
Gerhard Stein's avatar
Gerhard Stein committed
9
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
Gerhard Stein's avatar
Gerhard Stein committed
10
#make package_source
Gerhard Stein's avatar
Gerhard Stein committed
11
make package -j 4
Gerhard Stein's avatar
Gerhard Stein committed
12
rm CMakeFiles -R
13 14

# Linux 32-bit Version
15
#cmake . -DBUILD_TARGET=LINUX -DBUILD_ARCH=i386 -DCMAKE_BUILD_TYPE=Release -DOGG=yes -DTREMOR=NO -DCREATE_DEBS=1 -DCREATE_RPMS=1
Gerhard Stein's avatar
Gerhard Stein committed
16
#make package -j 4
Gerhard Stein's avatar
Gerhard Stein committed
17
#rm CMakeFiles -R
18

19 20 21
#clean up the packaged files
rm _CPack_Packages -R

22 23 24 25
# 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/