This repository has been archived by the owner on Dec 29, 2024. It is now read-only.
forked from vittorioromeo/SSVOpenHexagon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-win.bat
77 lines (66 loc) · 1.52 KB
/
build-win.bat
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
cd extlibs
cd SSVUtils
mkdir lib
cd lib
cmake .. -G "MinGW Makefiles"
mingw32-make -j4
mingw32-make install -j4
cd ../..
cd SSVUtilsJson
mkdir lib
cd lib
cmake .. -G "MinGW Makefiles"
mingw32-make -j4
mingw32-make install -j4
cd ../..
cd SSVMenuSystem
mkdir lib
cd lib
cmake .. -G "MinGW Makefiles"
mingw32-make -j4
mingw32-make install -j4
cd ../..
cd SSVEntitySystem
mkdir lib
cd lib
cmake .. -G "MinGW Makefiles"
mingw32-make -j4
mingw32-make install -j4
cd ../..
cd SSVStart
mkdir lib
cd lib
cmake .. -G "MinGW Makefiles"
mingw32-make -j4
mingw32-make install -j4
cd ../..
cd SSVLuaWrapper
mkdir lib
cd lib
cmake .. -G "MinGW Makefiles"
mingw32-make -j4
mingw32-make install -j4
cd ../..
cd ..
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
mingw32-make -j4
mingw32-make install -j4
xcopy /s/y .\SSVOpenHexagon.exe ..\_RELEASE\
xcopy /s/y ..\..\SFML\lib\sfml-audio-2.dll ..\_RELEASE\
xcopy /s/y ..\..\SFML\lib\sfml-graphics-2.dll ..\_RELEASE\
xcopy /s/y ..\..\SFML\lib\sfml-network-2.dll ..\_RELEASE\
xcopy /s/y ..\..\SFML\lib\sfml-system-2.dll ..\_RELEASE\
xcopy /s/y ..\..\SFML\lib\sfml-window-2.dll ..\_RELEASE\
xcopy /s/y ..\..\SFML\lib\libsndfile-1.dll ..\_RELEASE\
xcopy /s/y ..\..\lua\lib\lua5.2.dll ..\_RELEASE\
xcopy /s/y ..\..\lua\lib\lua52.dll ..\_RELEASE\
xcopy /s/y ..\..\SFML\lib\openal32.dll ..\_RELEASE\
xcopy /s/y ..\..\zlib\lib\zlib.dll ..\_RELEASE\
strip ..\_RELEASE\*SSV*.dll -g -s
upx -9 ..\_RELEASE\*SSV*
rm ..\_RELEASE\scores.json
rm ..\_RELEASE\log.txt
rm ..\_RELEASE\users.json
rm ..\_RELEASE\Profiles\*.json