-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuildlinux
More file actions
executable file
·100 lines (81 loc) · 3.34 KB
/
buildlinux
File metadata and controls
executable file
·100 lines (81 loc) · 3.34 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/bin/bash
QTVERSION=5.13.1
function dobuild {
pushd PathGenCommon
make CONFIG=release clean
make CONFIG=release
popd
pushd XeroGenV1
make CONFIG=release clean
make CONFIG=release
popd
pushd PathFinderV1Gen
make CONFIG=release clean
make CONFIG=release
popd
pushd PoofsGenerator
make CONFIG=release clean
make CONFIG=release
popd
pushd XeroPathGenerator
qmake -makefile
make clean
make
popd
qhelpgenerator html/xeropath.qhp -o html/xeropath.qch
qhelpgenerator html/xeropath.qhcp -o html/xeropath.qhc
}
function docopy
{
rm -rf xeropathgen
mkdir -p xeropathgen
mkdir -p xeropathgen/
mkdir -p xeropathgen/generators
mkdir -p xeropathgen/images
mkdir -p xeropathgen/fields
cp x64/release/XeroPathGenerator xeropathgen
cp XeroPathGenerator/images/*.png xeropathgen/images
cp fields/* xeropathgen/fields
cp generators/*.json xeropathgen/generators
cp PathFinderV1Gen/release/PathFinderV1Gen xeropathgen/generators
cp XeroGenV1/release/XeroGenV1 xeropathgen/generators
cp PoofsGenerator/release/PoofsGenerator xeropathgen/generators
cp html/xeropath.qch xeropathgen
cp html/xeropath.qhc xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/bin/assistant xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Charts.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5PrintSupport.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Widgets.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Gui.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Network.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Core.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Core.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Help.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libicui18n.so.56 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libicuuc.so.56 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libicudata.so.56 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5Sql.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5XcbQpa.so.5 xeropathgen
cp ~/Qt/$QTVERSION/gcc_64/lib/libQt5DBus.so.5 xeropathgen
mkdir xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqgif.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqicns.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqico.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqjpeg.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqsvg.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqtga.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqtiff.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqwbmp.so xeropathgen/imageformats
cp ~/Qt/$QTVERSION/gcc_64/plugins/imageformats/libqwebp.so xeropathgen/imageformats
mkdir xeropathgen/sqldrivers
cp ~/Qt/$QTVERSION/gcc_64/plugins/sqldrivers/*.so xeropathgen/sqldrivers
mkdir xeropathgen/platforms
cp ~/Qt/$QTVERSION/gcc_64/plugins/platforms/libqxcb.so xeropathgen/platforms
cp xeropath xeropathgen
cp README.linux xeropathgen/README
}
dobuild
docopy
tar cvf xeropath.tar xeropathgen
rm -f xeropath.tar.bz2
bzip2 xeropath.tar