OSDN Git Service

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