forked from OpenXRay/xray-16
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xrbuild.cmd
79 lines (70 loc) · 1.55 KB
/
xrbuild.cmd
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
md res\bins\
if %CONFIGURATION%==Debug if %PLATFORM%==x86 goto :DX86
if %CONFIGURATION%==Debug if %PLATFORM%==x64 goto :DX64
if %CONFIGURATION%==Mixed if %PLATFORM%==x86 goto :MX86
if %CONFIGURATION%==Mixed if %PLATFORM%==x64 goto :MX64
if %CONFIGURATION%==Release if %PLATFORM%==x86 goto :RX86
if %CONFIGURATION%==Release if %PLATFORM%==x64 goto :RX64
echo FAIL
goto :END
:DX86
cd bin\Win32\Debug
copy *.dll ..\..\..\res\bins\
copy *.exe ..\..\..\res\bins\
cd ..\..\..\
copy License.txt .\res\
copy README.md .\res\
cd res\
7z a OpenXRay.Dx86.7z .\*
goto :END
:DX64
cd bin\Win64\Debug
copy *.dll ..\..\..\res\bins\
copy *.exe ..\..\..\res\bins\
cd ..\..\..\
copy License.txt .\res\
copy README.md .\res\
cd res\
7z a OpenXRay.Dx64.7z .\*
goto :END
:MX86
cd bin\Win32\Mixed
copy *.dll ..\..\..\res\bins\
copy *.exe ..\..\..\res\bins\
cd ..\..\..\
copy License.txt .\res\
copy README.md .\res\
cd res\
7z a OpenXRay.Mx86.7z .\*
goto :END
:MX64
cd bin\Win64\Mixed
copy *.dll ..\..\..\res\bins\
copy *.exe ..\..\..\res\bins\
cd ..\..\..\
copy License.txt .\res\
copy README.md .\res\
cd res\
7z a OpenXRay.Mx64.7z .\*
goto :END
:RX86
cd bin\Win32\Release
copy *.dll ..\..\..\res\bins\
copy *.exe ..\..\..\res\bins\
cd ..\..\..\
copy License.txt .\res\
copy README.md .\res\
cd res\
7z a OpenXRay.Rx86.7z .\*
goto :END
:RX64
cd bin\Win64\Release
copy *.dll ..\..\..\res\bins\
copy *.exe ..\..\..\res\bins\
cd ..\..\..\
copy License.txt .\res\
copy README.md .\res\
cd res\
7z a OpenXRay.Rx64.7z .\*
goto :END
:END