-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild6.bat
85 lines (64 loc) · 2.58 KB
/
build6.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
echo off
rem rmdir /s /q binary
mkdir binary
setlocal
if exist "%ProgramFiles(x86)%" goto is_x64
set path="%ProgramFiles%\Microsoft Visual Studio\Common\MSDev98\Bin";%PATH%
goto start
:is_x64
set path="%ProgramFiles(x86)%\Microsoft Visual Studio\Common\MSDev98\Bin";%PATH%
:start
rmdir /s /q Release
msdev.com msdos.dsw /Make "msdos - Win32 Release_i86" /Rebuild
mkdir binary\i86_vc6
copy Release\msdos.exe binary\i86_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_i186" /Rebuild
mkdir binary\i186_vc6
copy Release\msdos.exe binary\i186_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_v30" /Rebuild
mkdir binary\v30_vc6
copy Release\msdos.exe binary\v30_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_i286" /Rebuild
mkdir binary\i286_vc6
copy Release\msdos.exe binary\i286_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_i386" /Rebuild
mkdir binary\i386_vc6
copy Release\msdos.exe binary\i386_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_i486" /Rebuild
mkdir binary\i486_vc6
copy Release\msdos.exe binary\i486_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_pentium" /Rebuild
mkdir binary\pentium_vc6
copy Release\msdos.exe binary\pentium_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_mediagx" /Rebuild
mkdir binary\mediagx_vc6
copy Release\msdos.exe binary\mediagx_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_pentium_pro" /Rebuild
mkdir binary\pentium_pro_vc6
copy Release\msdos.exe binary\pentium_pro_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_pentium_mmx" /Rebuild
mkdir binary\pentium_mmx_vc6
copy Release\msdos.exe binary\pentium_mmx_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_pentium2" /Rebuild
mkdir binary\pentium2_vc6
copy Release\msdos.exe binary\pentium2_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_pentium3" /Rebuild
mkdir binary\pentium3_vc6
copy Release\msdos.exe binary\pentium3_vc6\.
msdev.com msdos.dsw /Make "msdos - Win32 Release_pentium4" /Rebuild
mkdir binary\pentium4_vc6
copy Release\msdos.exe binary\pentium4_vc6\.
msdev.com ntvdm.dsw /Make "ntvdm - Win32 Release" /Rebuild
copy Release\ntvdm.dll binary\i386_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\i486_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\pentium_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\mediagx_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\pentium_pro_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\pentium_mmx_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\pentium2_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\pentium3_vc6\ntvdm.exe
copy Release\ntvdm.dll binary\pentium4_vc6\ntvdm.exe
endlocal
rmdir /s /q Release
pause
echo on