OSDN Git Service

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