-
Notifications
You must be signed in to change notification settings - Fork 0
/
build15_rel.bat
76 lines (56 loc) · 2.46 KB
/
build15_rel.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
echo off
if exist "%ProgramFiles(x86)%" goto is_x64
set path="%ProgramFiles%\Microsoft Visual Studio\2017\WDExpress\MSBuild\15.0\Bin";%PATH%
goto start
:is_x64
set path="%ProgramFiles(x86)%\Microsoft Visual Studio\2017\WDExpress\MSBuild\15.0\Bin";%PATH%
:start
rem rmdir /s /q binary
mkdir binary
rmdir /s /q Release
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i86;Platform="Win32"
mkdir binary\i86_x86
copy Release\msdos.exe binary\i86_x86\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i86;Platform="x64"
mkdir binary\i86_x64
copy Release\msdos.exe binary\i86_x64\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_v30;Platform="Win32"
mkdir binary\v30_x86
copy Release\msdos.exe binary\v30_x86\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_v30;Platform="x64"
mkdir binary\v30_x64
copy Release\msdos.exe binary\v30_x64\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i286;Platform="Win32"
mkdir binary\i286_x86
copy Release\msdos.exe binary\i286_x86\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i286;Platform="x64"
mkdir binary\i286_x64
copy Release\msdos.exe binary\i286_x64\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i386;Platform="Win32"
mkdir binary\i386_x86
copy Release\msdos.exe binary\i386_x86\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i386;Platform="x64"
mkdir binary\i386_x64
copy Release\msdos.exe binary\i386_x64\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i486;Platform="Win32"
mkdir binary\i486_x86
copy Release\msdos.exe binary\i486_x86\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_i486;Platform="x64"
mkdir binary\i486_x64
copy Release\msdos.exe binary\i486_x64\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_pentium4;Platform="Win32"
mkdir binary\pentium4_x86
copy Release\msdos.exe binary\pentium4_x86\.
msbuild.exe msdos.vcxproj /t:clean;rebuild /p:Configuration=Release_pentium4;Platform="x64"
mkdir binary\pentium4_x64
copy Release\msdos.exe binary\pentium4_x64\.
rmdir /s /q Release
msbuild.exe msdos_np21.vcxproj /t:clean;rebuild /p:Configuration=Release;Platform="Win32"
mkdir binary\ia32_x86
copy Release\msdos.exe binary\ia32_x86\.
msbuild.exe msdos_np21.vcxproj /t:clean;rebuild /p:Configuration=Release;Platform="x64"
mkdir binary\ia32_x64
copy Release\msdos.exe binary\ia32_x64\.
pause
echo on
exit /b