|
| 1 | +echo off |
| 2 | + |
| 3 | +if exist "%ProgramFiles(x86)%" goto is_x64 |
| 4 | +set path="%ProgramFiles%\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin";%PATH% |
| 5 | +goto start |
| 6 | + |
| 7 | +:is_x64 |
| 8 | +set path="%ProgramFiles(x86)%\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin";%PATH% |
| 9 | + |
| 10 | +:start |
| 11 | +rmdir /s /q SHARP |
| 12 | +mkdir SHARP |
| 13 | +mkdir SHARP\mz80a |
| 14 | +mkdir SHARP\mz80b |
| 15 | +mkdir SHARP\mz80k |
| 16 | +mkdir SHARP\mz700 |
| 17 | +mkdir SHARP\mz700 |
| 18 | +mkdir SHARP\mz700pal |
| 19 | +mkdir SHARP\mz800 |
| 20 | +mkdir SHARP\mz1200 |
| 21 | +mkdir SHARP\mz1500 |
| 22 | +mkdir SHARP\mz2200 |
| 23 | +mkdir SHARP\mz2500 |
| 24 | +mkdir SHARP\mz2800 |
| 25 | +mkdir SHARP\mz3500 |
| 26 | +mkdir SHARP\mz5500 |
| 27 | +mkdir SHARP\mz6500 |
| 28 | + |
| 29 | +msbuild.exe mz80a.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 30 | +copy bin\x86\Release\mz80a.exe SHARP\mz80a\. |
| 31 | + |
| 32 | +msbuild.exe mz80b.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 33 | +copy bin\x86\Release\mz80b.exe SHARP\mz80b\. |
| 34 | + |
| 35 | +msbuild.exe mz80k.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 36 | +copy bin\x86\Release\mz80k.exe SHARP\mz80k\. |
| 37 | + |
| 38 | +msbuild.exe mz700.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 39 | +copy bin\x86\Release\mz700.exe SHARP\mz700\. |
| 40 | + |
| 41 | +msbuild.exe mz700pal.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 42 | +copy bin\x86\Release\mz700pal.exe SHARP\mz700pal\. |
| 43 | + |
| 44 | +msbuild.exe mz800.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 45 | +copy bin\x86\Release\mz800.exe SHARP\mz800\. |
| 46 | + |
| 47 | +msbuild.exe mz1200.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 48 | +copy bin\x86\Release\mz1200.exe SHARP\mz1200\. |
| 49 | + |
| 50 | +msbuild.exe mz1500.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 51 | +copy bin\x86\Release\mz1500.exe SHARP\mz1500\. |
| 52 | + |
| 53 | +msbuild.exe mz2200.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 54 | +copy bin\x86\Release\mz2200.exe SHARP\mz2200\. |
| 55 | + |
| 56 | +msbuild.exe mz2500.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 57 | +copy bin\x86\Release\mz2500.exe SHARP\mz2500\. |
| 58 | + |
| 59 | +msbuild.exe mz2800.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 60 | +copy bin\x86\Release\mz2800.exe SHARP\mz2800\. |
| 61 | + |
| 62 | +msbuild.exe mz3500.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 63 | +copy bin\x86\Release\mz3500.exe SHARP\mz3500\. |
| 64 | + |
| 65 | +msbuild.exe mz5500.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 66 | +copy bin\x86\Release\mz5500.exe SHARP\mz5500\. |
| 67 | + |
| 68 | +msbuild.exe mz6500.vcxproj /t:clean;build /p:Configuration=Release;Platform="Win32" |
| 69 | +copy bin\x86\Release\mz6500.exe SHARP\mz6500\. |
| 70 | + |
| 71 | +pause |
| 72 | +echo on |
| 73 | +exit /b |
0 commit comments