OSDN Git Service

a9b164d8c23c743ad8cc071e166186e016b213b4
[csp-qt/common_source_project-fm7.git] / source / vc++2013 / build12.bat
1 echo off
2
3 if exist "%ProgramFiles(x86)%" goto is_x64
4 set path="%ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE";%PATH%
5 goto start
6
7 :is_x64
8 set path="%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE";%PATH%
9
10 :start
11 rmdir /s /q binary_vc12
12 mkdir binary_vc12
13 rmdir /s /q build_vc12
14 mkdir build_vc12
15 ren Release Release_tmp
16 rmdir /s /q Release_tmp
17
18 devenv.com babbage2nd.vcxproj /Rebuild Release
19 call :clean
20 mkdir build_vc12\babbage2nd
21 copy binary_vc12\babbage2nd.exe build_vc12\babbage2nd\.
22
23 devenv.com bmjr.vcxproj /Rebuild Release
24 call :clean
25 mkdir build_vc12\bmjr
26 copy binary_vc12\bmjr.exe build_vc12\bmjr\.
27
28 devenv.com bubcom80.vcxproj /Rebuild Release
29 call :clean
30 mkdir build_vc12\bubcom80
31 copy binary_vc12\bubcom80.exe build_vc12\bubcom80\.
32
33 devenv.com colecovision.vcxproj /Rebuild Release
34 call :clean
35 mkdir build_vc12\colecovision
36 copy binary_vc12\colecovision.exe build_vc12\colecovision\.
37
38 devenv.com ex80.vcxproj /Rebuild Release
39 call :clean
40 mkdir build_vc12\ex80
41 copy binary_vc12\ex80.exe build_vc12\ex80\.
42
43 devenv.com familybasic.vcxproj /Rebuild Release
44 call :clean
45 mkdir build_vc12\familybasic
46 copy binary_vc12\familybasic.exe build_vc12\familybasic\.
47
48 devenv.com fm8.vcxproj /Rebuild Release
49 call :clean
50 mkdir build_vc12\fm8
51 copy binary_vc12\fm8.exe build_vc12\fm8\.
52
53 devenv.com fm7.vcxproj /Rebuild Release
54 call :clean
55 devenv.com fm77.vcxproj /Rebuild Release
56 call :clean
57 devenv.com fm77av.vcxproj /Rebuild Release
58 call :clean
59 mkdir build_vc12\fm7
60 copy binary_vc12\fm7.exe build_vc12\fm7\.
61 copy binary_vc12\fm77.exe build_vc12\fm7\.
62 copy binary_vc12\fm77av.exe build_vc12\fm7\.
63
64 devenv.com fm77av40.vcxproj /Rebuild Release
65 call :clean
66 devenv.com fm77av40ex.vcxproj /Rebuild Release
67 call :clean
68 mkdir build_vc12\fm77av40
69 copy binary_vc12\fm77av40.exe build_vc12\fm77av40\.
70 copy binary_vc12\fm77av40ex.exe build_vc12\fm77av40\.
71
72 devenv.com fm16beta_i186.vcxproj /Rebuild Release
73 call :clean
74 mkdir build_vc12\fm16beta
75 copy binary_vc12\fm16beta_i186.exe build_vc12\fm16beta\.
76
77 devenv.com fm16pi.vcxproj /Rebuild Release
78 call :clean
79 mkdir build_vc12\fm16pi
80 copy binary_vc12\fm16pi.exe build_vc12\fm16pi\.
81
82 devenv.com fmr30_i86.vcxproj /Rebuild Release
83 call :clean
84 devenv.com fmr30_i286.vcxproj /Rebuild Release
85 call :clean
86 mkdir build_vc12\fmr30
87 copy binary_vc12\fmr30_i86.exe build_vc12\fmr30\.
88 copy binary_vc12\fmr30_i286.exe build_vc12\fmr30\.
89
90 devenv.com fmr50_i286.vcxproj /Rebuild Release
91 call :clean
92 devenv.com fmr50_i386.vcxproj /Rebuild Release
93 call :clean
94 devenv.com fmr50_i486.vcxproj /Rebuild Release
95 call :clean
96 mkdir build_vc12\fmr50
97 copy binary_vc12\fmr50_i286.exe build_vc12\fmr50\.
98 copy binary_vc12\fmr50_i386.exe build_vc12\fmr50\.
99 copy binary_vc12\fmr50_i486.exe build_vc12\fmr50\.
100
101 devenv.com fmr60.vcxproj /Rebuild Release
102 call :clean
103 devenv.com fmr70.vcxproj /Rebuild Release
104 call :clean
105 devenv.com fmr80.vcxproj /Rebuild Release
106 call :clean
107 mkdir build_vc12\fmr60
108 copy binary_vc12\fmr60.exe build_vc12\fmr60\.
109 copy binary_vc12\fmr70.exe build_vc12\fmr60\.
110 copy binary_vc12\fmr80.exe build_vc12\fmr60\.
111
112 devenv.com fp200.vcxproj /Rebuild Release
113 call :clean
114 mkdir build_vc12\fp200
115 copy binary_vc12\fp200.exe build_vc12\fp200\.
116
117 devenv.com fp1100.vcxproj /Rebuild Release
118 call :clean
119 mkdir build_vc12\fp1100
120 copy binary_vc12\fp1100.exe build_vc12\fp1100\.
121
122 devenv.com gamegear.vcxproj /Rebuild Release
123 call :clean
124 mkdir build_vc12\gamegear
125 copy binary_vc12\gamegear.exe build_vc12\gamegear\.
126
127 devenv.com hc20.vcxproj /Rebuild Release
128 call :clean
129 mkdir build_vc12\hc20
130 copy binary_vc12\hc20.exe build_vc12\hc20\.
131
132 devenv.com hc40.vcxproj /Rebuild Release
133 call :clean
134 mkdir build_vc12\hc40
135 copy binary_vc12\hc40.exe build_vc12\hc40\.
136
137 devenv.com hc80.vcxproj /Rebuild Release
138 call :clean
139 mkdir build_vc12\hc80
140 copy binary_vc12\hc80.exe build_vc12\hc80\.
141
142 devenv.com jr100.vcxproj /Rebuild Release
143 call :clean
144 mkdir build_vc12\jr100
145 copy binary_vc12\jr100.exe build_vc12\jr100\.
146
147 devenv.com jr800.vcxproj /Rebuild Release
148 call :clean
149 mkdir build_vc12\jr800
150 copy binary_vc12\jr800.exe build_vc12\jr800\.
151
152 devenv.com jx.vcxproj /Rebuild Release
153 call :clean
154 mkdir build_vc12\jx
155 copy binary_vc12\jx.exe build_vc12\jx\.
156 mkdir build_vc12\jx_hires
157 copy binary_vc12\jx.exe build_vc12\jx_hires\.
158
159 devenv.com m5.vcxproj /Rebuild Release
160 call :clean
161 mkdir build_vc12\m5
162 copy binary_vc12\m5.exe build_vc12\m5\.
163
164 devenv.com map1010.vcxproj /Rebuild Release
165 call :clean
166 mkdir build_vc12\map1010
167 copy binary_vc12\map1010.exe build_vc12\map1010\.
168
169 devenv.com mastersystem.vcxproj /Rebuild Release
170 call :clean
171 mkdir build_vc12\mastersystem
172 copy binary_vc12\mastersystem.exe build_vc12\mastersystem\.
173
174 devenv.com msx1.vcxproj /Rebuild Release
175 call :clean
176 devenv.com msx2.vcxproj /Rebuild Release
177 call :clean
178 devenv.com msx2p.vcxproj /Rebuild Release
179 call :clean
180 devenv.com fsa1.vcxproj /Rebuild Release
181 call :clean
182 devenv.com hx20.vcxproj /Rebuild Release
183 call :clean
184 mkdir build_vc12\msx
185 copy binary_vc12\msx1.exe build_vc12\msx\.
186 copy binary_vc12\msx2.exe build_vc12\msx\.
187 copy binary_vc12\msx2p.exe build_vc12\msx\.
188 copy binary_vc12\fsa1.exe build_vc12\msx\.
189 copy binary_vc12\hx20.exe build_vc12\msx\.
190
191 devenv.com multi8.vcxproj /Rebuild Release
192 call :clean
193 mkdir build_vc12\multi8
194 copy binary_vc12\multi8.exe build_vc12\multi8\.
195
196 devenv.com mycomz80a.vcxproj /Rebuild Release
197 call :clean
198 mkdir build_vc12\mycomz80a
199 copy binary_vc12\mycomz80a.exe build_vc12\mycomz80a\.
200
201 devenv.com mz80a.vcxproj /Rebuild Release
202 call :clean
203 mkdir build_vc12\mz80a
204 copy binary_vc12\mz80a.exe build_vc12\mz80a\.
205
206 devenv.com mz80b.vcxproj /Rebuild Release
207 call :clean
208 mkdir build_vc12\mz80b
209 copy binary_vc12\mz80b.exe build_vc12\mz80b\.
210
211 devenv.com mz80k.vcxproj /Rebuild Release
212 call :clean
213 mkdir build_vc12\mz80k
214 copy binary_vc12\mz80k.exe build_vc12\mz80k\.
215
216 devenv.com mz700.vcxproj /Rebuild Release
217 call :clean
218 mkdir build_vc12\mz700
219 copy binary_vc12\mz700.exe build_vc12\mz700\.
220
221 devenv.com mz800.vcxproj /Rebuild Release
222 call :clean
223 mkdir build_vc12\mz800
224 copy binary_vc12\mz800.exe build_vc12\mz800\.
225
226 devenv.com mz1200.vcxproj /Rebuild Release
227 call :clean
228 mkdir build_vc12\mz1200
229 copy binary_vc12\mz1200.exe build_vc12\mz1200\.
230
231 devenv.com mz1500.vcxproj /Rebuild Release
232 call :clean
233 mkdir build_vc12\mz1500
234 copy binary_vc12\mz1500.exe build_vc12\mz1500\.
235
236 devenv.com mz2200.vcxproj /Rebuild Release
237 call :clean
238 mkdir build_vc12\mz2200
239 copy binary_vc12\mz2200.exe build_vc12\mz2200\.
240
241 devenv.com mz2500.vcxproj /Rebuild Release
242 call :clean
243 mkdir build_vc12\mz2500
244 copy binary_vc12\mz2500.exe build_vc12\mz2500\.
245
246 devenv.com mz2800.vcxproj /Rebuild Release
247 call :clean
248 mkdir build_vc12\mz2800
249 copy binary_vc12\mz2800.exe build_vc12\mz2800\.
250
251 devenv.com mz3500.vcxproj /Rebuild Release
252 call :clean
253 mkdir build_vc12\mz3500
254 copy binary_vc12\mz3500.exe build_vc12\mz3500\.
255
256 devenv.com mz5500.vcxproj /Rebuild Release
257 call :clean
258 mkdir build_vc12\mz5500
259 copy binary_vc12\mz5500.exe build_vc12\mz5500\.
260
261 devenv.com mz6500.vcxproj /Rebuild Release
262 call :clean
263 mkdir build_vc12\mz6500
264 copy binary_vc12\mz6500.exe build_vc12\mz6500\.
265
266 devenv.com pasopia.vcxproj /Rebuild Release
267 call :clean
268 mkdir build_vc12\pasopia
269 copy binary_vc12\pasopia.exe build_vc12\pasopia\.
270
271 devenv.com pasopia7.vcxproj /Rebuild Release
272 call :clean
273 devenv.com pasopia7lcd.vcxproj /Rebuild Release
274 call :clean
275 mkdir build_vc12\pasopia7
276 copy binary_vc12\pasopia7.exe build_vc12\pasopia7\.
277 copy binary_vc12\pasopia7lcd.exe build_vc12\pasopia7\.
278
279 devenv.com pc2001.vcxproj /Rebuild Release
280 call :clean
281 mkdir build_vc12\pc2001
282 copy binary_vc12\pc2001.exe build_vc12\pc2001\.
283
284 devenv.com pc6001.vcxproj /Rebuild Release
285 call :clean
286 devenv.com pc6001mk2.vcxproj /Rebuild Release
287 call :clean
288 devenv.com pc6001mk2sr.vcxproj /Rebuild Release
289 call :clean
290 devenv.com pc6601.vcxproj /Rebuild Release
291 call :clean
292 devenv.com pc6601sr.vcxproj /Rebuild Release
293 call :clean
294 mkdir build_vc12\pc6001
295 copy binary_vc12\pc6001.exe build_vc12\pc6001\.
296 copy binary_vc12\pc6001mk2.exe build_vc12\pc6001\.
297 copy binary_vc12\pc6001mk2sr.exe build_vc12\pc6001\.
298 copy binary_vc12\pc6601.exe build_vc12\pc6001\.
299 copy binary_vc12\pc6601sr.exe build_vc12\pc6001\.
300
301 devenv.com pc8001mk2sr.vcxproj /Rebuild Release
302 call :clean
303 mkdir build_vc12\pc8001mk2sr
304 copy binary_vc12\pc8001mk2sr.exe build_vc12\pc8001mk2sr\.
305
306 devenv.com pc8201.vcxproj /Rebuild Release
307 call :clean
308 mkdir build_vc12\pc8201
309 copy binary_vc12\pc8201.exe build_vc12\pc8201\.
310
311 devenv.com pc8201a.vcxproj /Rebuild Release
312 call :clean
313 mkdir build_vc12\pc8201a
314 copy binary_vc12\pc8201a.exe build_vc12\pc8201a\.
315
316 devenv.com pc8801ma.vcxproj /Rebuild Release
317 call :clean
318 mkdir build_vc12\pc8801ma
319 copy binary_vc12\pc8801ma.exe build_vc12\pc8801ma\.
320
321 devenv.com pc9801.vcxproj /Rebuild Release
322 call :clean
323 mkdir build_vc12\pc9801
324 copy binary_vc12\pc9801.exe build_vc12\pc9801\.
325
326 devenv.com pc9801e.vcxproj /Rebuild Release
327 call :clean
328 mkdir build_vc12\pc9801e
329 copy binary_vc12\pc9801e.exe build_vc12\pc9801e\.
330
331 devenv.com pc9801u.vcxproj /Rebuild Release
332 call :clean
333 devenv.com pc9801vf.vcxproj /Rebuild Release
334 call :clean
335 devenv.com pc9801vm.vcxproj /Rebuild Release
336 call :clean
337 mkdir build_vc12\pc9801vm
338 copy binary_vc12\pc9801u.exe build_vc12\pc9801vm\.
339 copy binary_vc12\pc9801vf.exe build_vc12\pc9801vm\.
340 copy binary_vc12\pc9801vm.exe build_vc12\pc9801vm\.
341
342 devenv.com pc9801vx.vcxproj /Rebuild Release
343 call :clean
344 mkdir build_vc12\pc9801vx
345 copy binary_vc12\pc9801vx.exe build_vc12\pc9801vx\.
346
347 devenv.com pc9801ra.vcxproj /Rebuild Release
348 call :clean
349 mkdir build_vc12\pc9801ra
350 copy binary_vc12\pc9801ra.exe build_vc12\pc9801ra\.
351
352 devenv.com pc98rl.vcxproj /Rebuild Release
353 call :clean
354 mkdir build_vc12\pc98rl
355 copy binary_vc12\pc98rl.exe build_vc12\pc98rl\.
356
357 devenv.com pc98xl.vcxproj /Rebuild Release
358 call :clean
359 mkdir build_vc12\pc98xl
360 copy binary_vc12\pc98xl.exe build_vc12\pc98xl\.
361
362 devenv.com pc98do.vcxproj /Rebuild Release
363 call :clean
364 mkdir build_vc12\pc98do
365 copy binary_vc12\pc98do.exe build_vc12\pc98do\.
366
367 devenv.com pc98ha.vcxproj /Rebuild Release
368 call :clean
369 mkdir build_vc12\pc98ha
370 copy binary_vc12\pc98ha.exe build_vc12\pc98ha\.
371
372 devenv.com pc98lt.vcxproj /Rebuild Release
373 call :clean
374 mkdir build_vc12\pc98lt
375 copy binary_vc12\pc98lt.exe build_vc12\pc98lt\.
376
377 devenv.com pc100.vcxproj /Rebuild Release
378 call :clean
379 mkdir build_vc12\pc100
380 copy binary_vc12\pc100.exe build_vc12\pc100\.
381
382 devenv.com pcengine.vcxproj /Rebuild Release
383 call :clean
384 mkdir build_vc12\pcengine
385 copy binary_vc12\pcengine.exe build_vc12\pcengine\.
386
387 devenv.com phc20.vcxproj /Rebuild Release
388 call :clean
389 mkdir build_vc12\phc20
390 copy binary_vc12\phc20.exe build_vc12\phc20\.
391
392 devenv.com phc25.vcxproj /Rebuild Release
393 call :clean
394 mkdir build_vc12\phc25
395 copy binary_vc12\phc25.exe build_vc12\phc25\.
396
397 devenv.com pv1000.vcxproj /Rebuild Release
398 call :clean
399 mkdir build_vc12\pv1000
400 copy binary_vc12\pv1000.exe build_vc12\pv1000\.
401
402 devenv.com pv2000.vcxproj /Rebuild Release
403 call :clean
404 mkdir build_vc12\pv2000
405 copy binary_vc12\pv2000.exe build_vc12\pv2000\.
406
407 devenv.com px7.vcxproj /Rebuild Release
408 call :clean
409 mkdir build_vc12\px7
410 copy binary_vc12\px7.exe build_vc12\px7\.
411
412 devenv.com pyuta.vcxproj /Rebuild Release
413 call :clean
414 mkdir build_vc12\pyuta
415 copy binary_vc12\pyuta.exe build_vc12\pyuta\.
416 mkdir build_vc12\pyuta_jr
417 copy binary_vc12\pyuta.exe build_vc12\pyuta_jr\.
418
419 devenv.com qc10.vcxproj /Rebuild Release
420 call :clean
421 devenv.com qc10cms.vcxproj /Rebuild Release
422 call :clean
423 mkdir build_vc12\qc10
424 copy binary_vc12\qc10.exe build_vc12\qc10\.
425 copy binary_vc12\qc10cms.exe build_vc12\qc10\.
426
427 devenv.com rx78.vcxproj /Rebuild Release
428 call :clean
429 mkdir build_vc12\rx78
430 copy binary_vc12\rx78.exe build_vc12\rx78\.
431
432 devenv.com sc3000.vcxproj /Rebuild Release
433 call :clean
434 mkdir build_vc12\sc3000
435 copy binary_vc12\sc3000.exe build_vc12\sc3000\.
436
437 devenv.com scv.vcxproj /Rebuild Release
438 call :clean
439 mkdir build_vc12\scv
440 copy binary_vc12\scv.exe build_vc12\scv\.
441
442 devenv.com smb80te.vcxproj /Rebuild Release
443 call :clean
444 mkdir build_vc12\smb80te
445 copy binary_vc12\smb80te.exe build_vc12\smb80te\.
446
447 devenv.com smc70.vcxproj /Rebuild Release
448 call :clean
449 devenv.com smc777.vcxproj /Rebuild Release
450 call :clean
451 mkdir build_vc12\smc777
452 copy binary_vc12\smc70.exe build_vc12\smc777\.
453 copy binary_vc12\smc777.exe build_vc12\smc777\.
454
455 devenv.com tk80bs.vcxproj /Rebuild Release
456 call :clean
457 mkdir build_vc12\tk80bs
458 copy binary_vc12\tk80bs.exe build_vc12\tk80bs\.
459
460 devenv.com tk85.vcxproj /Rebuild Release
461 call :clean
462 mkdir build_vc12\tk85
463 copy binary_vc12\tk85.exe build_vc12\tk85\.
464
465 devenv.com x07.vcxproj /Rebuild Release
466 call :clean
467 mkdir build_vc12\x07
468 copy binary_vc12\x07.exe build_vc12\x07\.
469
470 devenv.com x1.vcxproj /Rebuild Release
471 call :clean
472 devenv.com x1twin.vcxproj /Rebuild Release
473 call :clean
474 devenv.com x1turbo.vcxproj /Rebuild Release
475 call :clean
476 devenv.com x1turboz.vcxproj /Rebuild Release
477 call :clean
478 mkdir build_vc12\x1
479 copy binary_vc12\x1.exe build_vc12\x1\.
480 copy binary_vc12\x1twin.exe build_vc12\x1\.
481 copy binary_vc12\x1turbo.exe build_vc12\x1\.
482 copy binary_vc12\x1turboz.exe build_vc12\x1\.
483
484 devenv.com yalky.vcxproj /Rebuild Release
485 call :clean
486 mkdir build_vc12\yalky
487 copy binary_vc12\yalky.exe build_vc12\yalky\.
488
489 devenv.com yis.vcxproj /Rebuild Release
490 call :clean
491 mkdir build_vc12\yis
492 copy binary_vc12\yis.exe build_vc12\yis\.
493
494 devenv.com ys6464a.vcxproj /Rebuild Release
495 call :clean
496 mkdir build_vc12\ys6464a
497 copy binary_vc12\ys6464a.exe build_vc12\ys6464a\.
498
499 devenv.com z80tvgame_i8255.vcxproj /Rebuild Release
500 call :clean
501 devenv.com z80tvgame_z80pio.vcxproj /Rebuild Release
502 call :clean
503 mkdir build_vc12\z80tvgame
504 copy binary_vc12\z80tvgame_i8255.exe build_vc12\z80tvgame\.
505 copy binary_vc12\z80tvgame_z80pio.exe build_vc12\z80tvgame\.
506
507 pause
508 echo on
509 exit /b
510
511 :clean
512 copy Release\*.exe binary_vc12\.
513 ren Release Release_tmp
514 rmdir /s /q Release_tmp
515 exit /b