-
Notifications
You must be signed in to change notification settings - Fork 4
/
build9.bat
167 lines (131 loc) · 5.72 KB
/
build9.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
echo off
rem rmdir /s /q binary
mkdir binary
setlocal
if exist "%ProgramFiles(x86)%" goto is_x64
set path="%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE";%PATH%
set path="%ProgramFiles%\Windows Kits\8.1\bin\x86";%PATH%
goto start
:is_x64
set path="%ProgramFiles(x86)%\Microsoft Visual Studio 9.0\Common7\IDE";%PATH%
set path="%ProgramFiles(x86)%\Windows Kits\8.1\bin\x86";%PATH%
:start
rmdir /s /q Release
rmdir /s /q x64
devenv.com msdos.vcproj /Rebuild "Release_i86|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i86_x86
copy Release\msdos.exe binary\i86_x86\.
devenv.com msdos.vcproj /Rebuild "Release_i86|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i86_x64
copy Release\msdos.exe binary\i86_x64\.
devenv.com msdos.vcproj /Rebuild "Release_i186|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i186_x86
copy Release\msdos.exe binary\i186_x86\.
devenv.com msdos.vcproj /Rebuild "Release_i186|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i186_x64
copy Release\msdos.exe binary\i186_x64\.
devenv.com msdos.vcproj /Rebuild "Release_v30|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\v30_x86
copy Release\msdos.exe binary\v30_x86\.
devenv.com msdos.vcproj /Rebuild "Release_v30|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\v30_x64
copy Release\msdos.exe binary\v30_x64\.
devenv.com msdos.vcproj /Rebuild "Release_i286|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i286_x86
copy Release\msdos.exe binary\i286_x86\.
devenv.com msdos.vcproj /Rebuild "Release_i286|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i286_x64
copy Release\msdos.exe binary\i286_x64\.
devenv.com msdos.vcproj /Rebuild "Release_i386|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i386_x86
copy Release\msdos.exe binary\i386_x86\.
devenv.com msdos.vcproj /Rebuild "Release_i386|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i386_x64
copy Release\msdos.exe binary\i386_x64\.
devenv.com msdos.vcproj /Rebuild "Release_i486|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i486_x86
copy Release\msdos.exe binary\i486_x86\.
devenv.com msdos.vcproj /Rebuild "Release_i486|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\i486_x64
copy Release\msdos.exe binary\i486_x64\.
devenv.com msdos.vcproj /Rebuild "Release_pentium|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium_x86
copy Release\msdos.exe binary\pentium_x86\.
devenv.com msdos.vcproj /Rebuild "Release_pentium|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium_x64
copy Release\msdos.exe binary\pentium_x64\.
devenv.com msdos.vcproj /Rebuild "Release_mediagx|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\mediagx_x86
copy Release\msdos.exe binary\mediagx_x86\.
devenv.com msdos.vcproj /Rebuild "Release_mediagx|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\mediagx_x64
copy Release\msdos.exe binary\mediagx_x64\.
devenv.com msdos.vcproj /Rebuild "Release_pentium_pro|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium_pro_x86
copy Release\msdos.exe binary\pentium_pro_x86\.
devenv.com msdos.vcproj /Rebuild "Release_pentium_pro|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium_pro_x64
copy Release\msdos.exe binary\pentium_pro_x64\.
devenv.com msdos.vcproj /Rebuild "Release_pentium_mmx|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium_mmx_x86
copy Release\msdos.exe binary\pentium_mmx_x86\.
devenv.com msdos.vcproj /Rebuild "Release_pentium_mmx|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium_mmx_x64
copy Release\msdos.exe binary\pentium_mmx_x64\.
devenv.com msdos.vcproj /Rebuild "Release_pentium2|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium2_x86
copy Release\msdos.exe binary\pentium2_x86\.
devenv.com msdos.vcproj /Rebuild "Release_pentium2|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium2_x64
copy Release\msdos.exe binary\pentium2_x64\.
devenv.com msdos.vcproj /Rebuild "Release_pentium3|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium3_x86
copy Release\msdos.exe binary\pentium3_x86\.
devenv.com msdos.vcproj /Rebuild "Release_pentium3|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium3_x64
copy Release\msdos.exe binary\pentium3_x64\.
devenv.com msdos.vcproj /Rebuild "Release_pentium4|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium4_x86
copy Release\msdos.exe binary\pentium4_x86\.
devenv.com msdos.vcproj /Rebuild "Release_pentium4|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\pentium4_x64
copy Release\msdos.exe binary\pentium4_x64\.
devenv.com msdos_np21.vcproj /Rebuild "Release|Win32"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\ia32_x86
copy Release\msdos.exe binary\ia32_x86\.
devenv.com msdos_np21.vcproj /Rebuild "Release|x64"
mt.exe /manifest vista.manifest -outputresource:Release\msdos.exe;1
mkdir binary\ia32_x64
copy Release\msdos.exe binary\ia32_x64\.
endlocal
rmdir /s /q Release
rmdir /s /q x64
pause
echo on