)
if "%1" == "" (
- call :BuildBin
- call :BuildBin x64
+ call :BuildBin ARM || goto :eof
+ call :BuildBin ARM64 || goto :eof
+ call :BuildBin x86|| goto :eof
+ call :BuildBin x64 || goto :eof
) else (
- call :BuildBin %1
+ call :BuildBin %1 || goto :eof
)
goto :eof
:BuildBin
-set PLATFORM=%1
-if "%1" == "" (
- set PLATFORM_VS=Win32
-) else (
- set PLATFORM_VS=%1
-)
-MSBuild WinMerge.vs2017.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="%PLATFORM_VS%" || pause
+MSBuild WinMerge.vs2017.sln /t:Rebuild /p:Configuration="Release" /p:Platform="%1" || goto :eof
endlocal
if exist "%SIGNBAT_PATH%" (
- call "%SIGNBAT_PATH%" Build\%PLATFORM%\MergeUnicodeRelease\WinMergeU.exe
+ call "%SIGNBAT_PATH%" Build\%1\Release\WinMergeU.exe
)
-mkdir Build\%PLATFORM%\MergeUnicodeRelease\%APPVER% 2> NUL
-copy Build\%PlATFORM%\MergeUnicodeRelease\*.pdb "Build\%PLATFORM%\MergeUnicodeRelease\%APPVER%\"
+mkdir Build\%1\Release\%APPVER% 2> NUL
+copy Build\%1\Release\*.pdb "Build\%1\Release\%APPVER%\"
goto :eof