3 if exist "%ProgramFiles(x86)%" goto is_x64
4 set path="%ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE";%PATH%
8 set path="%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE";%PATH%
11 rmdir /s /q binary_vc12
13 rmdir /s /q build_vc12
15 ren Release Release_tmp
16 rmdir /s /q Release_tmp
18 devenv.com babbage2nd.vcxproj /Rebuild Release
20 mkdir build_vc12\babbage2nd
21 copy binary_vc12\babbage2nd.exe build_vc12\babbage2nd\.
23 devenv.com bmjr.vcxproj /Rebuild Release
26 copy binary_vc12\bmjr.exe build_vc12\bmjr\.
28 devenv.com bubcom80.vcxproj /Rebuild Release
30 mkdir build_vc12\bubcom80
31 copy binary_vc12\bubcom80.exe build_vc12\bubcom80\.
33 devenv.com colecovision.vcxproj /Rebuild Release
35 mkdir build_vc12\colecovision
36 copy binary_vc12\colecovision.exe build_vc12\colecovision\.
38 devenv.com ex80.vcxproj /Rebuild Release
41 copy binary_vc12\ex80.exe build_vc12\ex80\.
43 devenv.com familybasic.vcxproj /Rebuild Release
45 mkdir build_vc12\familybasic
46 copy binary_vc12\familybasic.exe build_vc12\familybasic\.
48 devenv.com fm8.vcxproj /Rebuild Release
51 copy binary_vc12\fm8.exe build_vc12\fm8\.
53 devenv.com fm7.vcxproj /Rebuild Release
55 devenv.com fm77.vcxproj /Rebuild Release
57 devenv.com fm77l4.vcxproj /Rebuild Release
59 devenv.com fm77av.vcxproj /Rebuild Release
62 copy binary_vc12\fm7.exe build_vc12\fm7\.
63 copy binary_vc12\fm77.exe build_vc12\fm7\.
64 copy binary_vc12\fm77l4.exe build_vc12\fm7\.
65 copy binary_vc12\fm77av.exe build_vc12\fm7\.
67 devenv.com fm77av40.vcxproj /Rebuild Release
69 devenv.com fm77av40ex.vcxproj /Rebuild Release
71 mkdir build_vc12\fm77av40
72 copy binary_vc12\fm77av40.exe build_vc12\fm77av40\.
73 copy binary_vc12\fm77av40ex.exe build_vc12\fm77av40\.
75 devenv.com fm16beta_i186.vcxproj /Rebuild Release
77 mkdir build_vc12\fm16beta
78 copy binary_vc12\fm16beta_i186.exe build_vc12\fm16beta\.
80 devenv.com fm16pi.vcxproj /Rebuild Release
82 mkdir build_vc12\fm16pi
83 copy binary_vc12\fm16pi.exe build_vc12\fm16pi\.
85 devenv.com fmr30_i86.vcxproj /Rebuild Release
87 devenv.com fmr30_i286.vcxproj /Rebuild Release
89 mkdir build_vc12\fmr30
90 copy binary_vc12\fmr30_i86.exe build_vc12\fmr30\.
91 copy binary_vc12\fmr30_i286.exe build_vc12\fmr30\.
93 devenv.com fmr50_i286.vcxproj /Rebuild Release
95 devenv.com fmr50_i386.vcxproj /Rebuild Release
97 devenv.com fmr50_i486.vcxproj /Rebuild Release
99 mkdir build_vc12\fmr50
100 copy binary_vc12\fmr50_i286.exe build_vc12\fmr50\.
101 copy binary_vc12\fmr50_i386.exe build_vc12\fmr50\.
102 copy binary_vc12\fmr50_i486.exe build_vc12\fmr50\.
104 devenv.com fmr60.vcxproj /Rebuild Release
106 devenv.com fmr70.vcxproj /Rebuild Release
108 devenv.com fmr80.vcxproj /Rebuild Release
110 mkdir build_vc12\fmr60
111 copy binary_vc12\fmr60.exe build_vc12\fmr60\.
112 copy binary_vc12\fmr70.exe build_vc12\fmr60\.
113 copy binary_vc12\fmr80.exe build_vc12\fmr60\.
115 devenv.com fp200.vcxproj /Rebuild Release
117 mkdir build_vc12\fp200
118 copy binary_vc12\fp200.exe build_vc12\fp200\.
120 devenv.com fp1100.vcxproj /Rebuild Release
122 mkdir build_vc12\fp1100
123 copy binary_vc12\fp1100.exe build_vc12\fp1100\.
125 devenv.com gamegear.vcxproj /Rebuild Release
127 mkdir build_vc12\gamegear
128 copy binary_vc12\gamegear.exe build_vc12\gamegear\.
130 devenv.com hc20.vcxproj /Rebuild Release
132 mkdir build_vc12\hc20
133 copy binary_vc12\hc20.exe build_vc12\hc20\.
135 devenv.com hc40.vcxproj /Rebuild Release
137 mkdir build_vc12\hc40
138 copy binary_vc12\hc40.exe build_vc12\hc40\.
140 devenv.com hc80.vcxproj /Rebuild Release
142 mkdir build_vc12\hc80
143 copy binary_vc12\hc80.exe build_vc12\hc80\.
145 devenv.com jr100.vcxproj /Rebuild Release
147 mkdir build_vc12\jr100
148 copy binary_vc12\jr100.exe build_vc12\jr100\.
150 devenv.com jr800.vcxproj /Rebuild Release
152 mkdir build_vc12\jr800
153 copy binary_vc12\jr800.exe build_vc12\jr800\.
155 devenv.com jx.vcxproj /Rebuild Release
158 copy binary_vc12\jx.exe build_vc12\jx\.
159 mkdir build_vc12\jx_hires
160 copy binary_vc12\jx.exe build_vc12\jx_hires\.
162 devenv.com m5.vcxproj /Rebuild Release
165 copy binary_vc12\m5.exe build_vc12\m5\.
167 devenv.com map1010.vcxproj /Rebuild Release
169 mkdir build_vc12\map1010
170 copy binary_vc12\map1010.exe build_vc12\map1010\.
172 devenv.com mastersystem.vcxproj /Rebuild Release
174 mkdir build_vc12\mastersystem
175 copy binary_vc12\mastersystem.exe build_vc12\mastersystem\.
177 devenv.com msx1.vcxproj /Rebuild Release
179 devenv.com msx2.vcxproj /Rebuild Release
181 devenv.com msx2p.vcxproj /Rebuild Release
183 devenv.com fsa1.vcxproj /Rebuild Release
185 devenv.com hx20.vcxproj /Rebuild Release
188 copy binary_vc12\msx1.exe build_vc12\msx\.
189 copy binary_vc12\msx2.exe build_vc12\msx\.
190 copy binary_vc12\msx2p.exe build_vc12\msx\.
191 copy binary_vc12\fsa1.exe build_vc12\msx\.
192 copy binary_vc12\hx20.exe build_vc12\msx\.
194 devenv.com multi8.vcxproj /Rebuild Release
196 mkdir build_vc12\multi8
197 copy binary_vc12\multi8.exe build_vc12\multi8\.
199 devenv.com mycomz80a.vcxproj /Rebuild Release
201 mkdir build_vc12\mycomz80a
202 copy binary_vc12\mycomz80a.exe build_vc12\mycomz80a\.
204 devenv.com mz80a.vcxproj /Rebuild Release
206 mkdir build_vc12\mz80a
207 copy binary_vc12\mz80a.exe build_vc12\mz80a\.
209 devenv.com mz80b.vcxproj /Rebuild Release
211 mkdir build_vc12\mz80b
212 copy binary_vc12\mz80b.exe build_vc12\mz80b\.
214 devenv.com mz80k.vcxproj /Rebuild Release
216 mkdir build_vc12\mz80k
217 copy binary_vc12\mz80k.exe build_vc12\mz80k\.
219 devenv.com mz700.vcxproj /Rebuild Release
221 mkdir build_vc12\mz700
222 copy binary_vc12\mz700.exe build_vc12\mz700\.
224 devenv.com mz800.vcxproj /Rebuild Release
226 mkdir build_vc12\mz800
227 copy binary_vc12\mz800.exe build_vc12\mz800\.
229 devenv.com mz1200.vcxproj /Rebuild Release
231 mkdir build_vc12\mz1200
232 copy binary_vc12\mz1200.exe build_vc12\mz1200\.
234 devenv.com mz1500.vcxproj /Rebuild Release
236 mkdir build_vc12\mz1500
237 copy binary_vc12\mz1500.exe build_vc12\mz1500\.
239 devenv.com mz2200.vcxproj /Rebuild Release
241 mkdir build_vc12\mz2200
242 copy binary_vc12\mz2200.exe build_vc12\mz2200\.
244 devenv.com mz2500.vcxproj /Rebuild Release
246 mkdir build_vc12\mz2500
247 copy binary_vc12\mz2500.exe build_vc12\mz2500\.
249 devenv.com mz2800.vcxproj /Rebuild Release
251 mkdir build_vc12\mz2800
252 copy binary_vc12\mz2800.exe build_vc12\mz2800\.
254 devenv.com mz3500.vcxproj /Rebuild Release
256 mkdir build_vc12\mz3500
257 copy binary_vc12\mz3500.exe build_vc12\mz3500\.
259 devenv.com mz5500.vcxproj /Rebuild Release
261 mkdir build_vc12\mz5500
262 copy binary_vc12\mz5500.exe build_vc12\mz5500\.
264 devenv.com mz6500.vcxproj /Rebuild Release
266 mkdir build_vc12\mz6500
267 copy binary_vc12\mz6500.exe build_vc12\mz6500\.
269 devenv.com pasopia.vcxproj /Rebuild Release
271 mkdir build_vc12\pasopia
272 copy binary_vc12\pasopia.exe build_vc12\pasopia\.
274 devenv.com pasopia7.vcxproj /Rebuild Release
276 devenv.com pasopia7lcd.vcxproj /Rebuild Release
278 mkdir build_vc12\pasopia7
279 copy binary_vc12\pasopia7.exe build_vc12\pasopia7\.
280 copy binary_vc12\pasopia7lcd.exe build_vc12\pasopia7\.
282 devenv.com pc2001.vcxproj /Rebuild Release
284 mkdir build_vc12\pc2001
285 copy binary_vc12\pc2001.exe build_vc12\pc2001\.
287 devenv.com pc6001.vcxproj /Rebuild Release
289 devenv.com pc6001mk2.vcxproj /Rebuild Release
291 devenv.com pc6001mk2sr.vcxproj /Rebuild Release
293 devenv.com pc6601.vcxproj /Rebuild Release
295 devenv.com pc6601sr.vcxproj /Rebuild Release
297 mkdir build_vc12\pc6001
298 copy binary_vc12\pc6001.exe build_vc12\pc6001\.
299 copy binary_vc12\pc6001mk2.exe build_vc12\pc6001\.
300 copy binary_vc12\pc6001mk2sr.exe build_vc12\pc6001\.
301 copy binary_vc12\pc6601.exe build_vc12\pc6001\.
302 copy binary_vc12\pc6601sr.exe build_vc12\pc6001\.
304 devenv.com pc8001.vcxproj /Rebuild Release
306 devenv.com pc8001mk2.vcxproj /Rebuild Release
308 devenv.com pc8001mk2sr.vcxproj /Rebuild Release
310 mkdir build_vc12\pc8001
311 copy binary_vc12\pc8001.exe build_vc12\pc8001\.
312 copy binary_vc12\pc8001mk2.exe build_vc12\pc8001\.
313 copy binary_vc12\pc8001mk2sr.exe build_vc12\pc8001\.
315 devenv.com pc8201.vcxproj /Rebuild Release
317 mkdir build_vc12\pc8201
318 copy binary_vc12\pc8201.exe build_vc12\pc8201\.
320 devenv.com pc8201a.vcxproj /Rebuild Release
322 mkdir build_vc12\pc8201a
323 copy binary_vc12\pc8201a.exe build_vc12\pc8201a\.
325 devenv.com pc8801.vcxproj /Rebuild Release
327 devenv.com pc8801mk2.vcxproj /Rebuild Release
329 mkdir build_vc12\pc8801
330 copy binary_vc12\pc8801.exe build_vc12\pc8801\.
331 copy binary_vc12\pc8801mk2.exe build_vc12\pc8801\.
333 devenv.com pc8801ma.vcxproj /Rebuild Release
335 mkdir build_vc12\pc8801ma
336 copy binary_vc12\pc8801ma.exe build_vc12\pc8801ma\.
338 devenv.com pc9801.vcxproj /Rebuild Release
340 mkdir build_vc12\pc9801
341 copy binary_vc12\pc9801.exe build_vc12\pc9801\.
343 devenv.com pc9801e.vcxproj /Rebuild Release
345 mkdir build_vc12\pc9801e
346 copy binary_vc12\pc9801e.exe build_vc12\pc9801e\.
348 devenv.com pc9801u.vcxproj /Rebuild Release
350 devenv.com pc9801vf.vcxproj /Rebuild Release
352 devenv.com pc9801vm.vcxproj /Rebuild Release
354 mkdir build_vc12\pc9801vm
355 copy binary_vc12\pc9801u.exe build_vc12\pc9801vm\.
356 copy binary_vc12\pc9801vf.exe build_vc12\pc9801vm\.
357 copy binary_vc12\pc9801vm.exe build_vc12\pc9801vm\.
359 devenv.com pc9801vx.vcxproj /Rebuild Release
361 mkdir build_vc12\pc9801vx
362 copy binary_vc12\pc9801vx.exe build_vc12\pc9801vx\.
364 devenv.com pc9801ra.vcxproj /Rebuild Release
366 mkdir build_vc12\pc9801ra
367 copy binary_vc12\pc9801ra.exe build_vc12\pc9801ra\.
369 devenv.com pc98rl.vcxproj /Rebuild Release
371 mkdir build_vc12\pc98rl
372 copy binary_vc12\pc98rl.exe build_vc12\pc98rl\.
374 devenv.com pc98xa.vcxproj /Rebuild Release
376 mkdir build_vc12\pc98xa
377 copy binary_vc12\pc98xa.exe build_vc12\pc98xa\.
379 devenv.com pc98xl.vcxproj /Rebuild Release
381 mkdir build_vc12\pc98xl
382 copy binary_vc12\pc98xl.exe build_vc12\pc98xl\.
384 devenv.com pc98do.vcxproj /Rebuild Release
386 mkdir build_vc12\pc98do
387 copy binary_vc12\pc98do.exe build_vc12\pc98do\.
389 devenv.com pc98ha.vcxproj /Rebuild Release
391 mkdir build_vc12\pc98ha
392 copy binary_vc12\pc98ha.exe build_vc12\pc98ha\.
394 devenv.com pc98lt.vcxproj /Rebuild Release
396 mkdir build_vc12\pc98lt
397 copy binary_vc12\pc98lt.exe build_vc12\pc98lt\.
399 devenv.com pc100.vcxproj /Rebuild Release
401 mkdir build_vc12\pc100
402 copy binary_vc12\pc100.exe build_vc12\pc100\.
404 devenv.com pcengine.vcxproj /Rebuild Release
406 mkdir build_vc12\pcengine
407 copy binary_vc12\pcengine.exe build_vc12\pcengine\.
409 devenv.com phc20.vcxproj /Rebuild Release
411 mkdir build_vc12\phc20
412 copy binary_vc12\phc20.exe build_vc12\phc20\.
414 devenv.com phc25.vcxproj /Rebuild Release
416 mkdir build_vc12\phc25
417 copy binary_vc12\phc25.exe build_vc12\phc25\.
419 devenv.com pv1000.vcxproj /Rebuild Release
421 mkdir build_vc12\pv1000
422 copy binary_vc12\pv1000.exe build_vc12\pv1000\.
424 devenv.com pv2000.vcxproj /Rebuild Release
426 mkdir build_vc12\pv2000
427 copy binary_vc12\pv2000.exe build_vc12\pv2000\.
429 devenv.com px7.vcxproj /Rebuild Release
432 copy binary_vc12\px7.exe build_vc12\px7\.
434 devenv.com pyuta.vcxproj /Rebuild Release
436 mkdir build_vc12\pyuta
437 copy binary_vc12\pyuta.exe build_vc12\pyuta\.
438 mkdir build_vc12\pyuta_jr
439 copy binary_vc12\pyuta.exe build_vc12\pyuta_jr\.
441 devenv.com qc10.vcxproj /Rebuild Release
443 devenv.com qc10cms.vcxproj /Rebuild Release
445 mkdir build_vc12\qc10
446 copy binary_vc12\qc10.exe build_vc12\qc10\.
447 copy binary_vc12\qc10cms.exe build_vc12\qc10\.
449 devenv.com rx78.vcxproj /Rebuild Release
451 mkdir build_vc12\rx78
452 copy binary_vc12\rx78.exe build_vc12\rx78\.
454 devenv.com sc3000.vcxproj /Rebuild Release
456 mkdir build_vc12\sc3000
457 copy binary_vc12\sc3000.exe build_vc12\sc3000\.
459 devenv.com scv.vcxproj /Rebuild Release
462 copy binary_vc12\scv.exe build_vc12\scv\.
464 devenv.com smb80te.vcxproj /Rebuild Release
466 mkdir build_vc12\smb80te
467 copy binary_vc12\smb80te.exe build_vc12\smb80te\.
469 devenv.com smc70.vcxproj /Rebuild Release
471 devenv.com smc777.vcxproj /Rebuild Release
473 mkdir build_vc12\smc777
474 copy binary_vc12\smc70.exe build_vc12\smc777\.
475 copy binary_vc12\smc777.exe build_vc12\smc777\.
477 devenv.com tk80bs.vcxproj /Rebuild Release
479 mkdir build_vc12\tk80bs
480 copy binary_vc12\tk80bs.exe build_vc12\tk80bs\.
482 devenv.com tk85.vcxproj /Rebuild Release
484 mkdir build_vc12\tk85
485 copy binary_vc12\tk85.exe build_vc12\tk85\.
487 devenv.com x07.vcxproj /Rebuild Release
490 copy binary_vc12\x07.exe build_vc12\x07\.
492 devenv.com x1.vcxproj /Rebuild Release
494 devenv.com x1twin.vcxproj /Rebuild Release
496 devenv.com x1turbo.vcxproj /Rebuild Release
498 devenv.com x1turboz.vcxproj /Rebuild Release
501 copy binary_vc12\x1.exe build_vc12\x1\.
502 copy binary_vc12\x1twin.exe build_vc12\x1\.
503 copy binary_vc12\x1turbo.exe build_vc12\x1\.
504 copy binary_vc12\x1turboz.exe build_vc12\x1\.
506 devenv.com yalky.vcxproj /Rebuild Release
508 mkdir build_vc12\yalky
509 copy binary_vc12\yalky.exe build_vc12\yalky\.
511 devenv.com yis.vcxproj /Rebuild Release
514 copy binary_vc12\yis.exe build_vc12\yis\.
516 devenv.com ys6464a.vcxproj /Rebuild Release
518 mkdir build_vc12\ys6464a
519 copy binary_vc12\ys6464a.exe build_vc12\ys6464a\.
521 devenv.com z80tvgame_i8255.vcxproj /Rebuild Release
523 devenv.com z80tvgame_z80pio.vcxproj /Rebuild Release
525 mkdir build_vc12\z80tvgame
526 copy binary_vc12\z80tvgame_i8255.exe build_vc12\z80tvgame\.
527 copy binary_vc12\z80tvgame_z80pio.exe build_vc12\z80tvgame\.
534 copy Release\*.exe binary_vc12\.
535 ren Release Release_tmp
536 rmdir /s /q Release_tmp