4 for /f "usebackq tokens=*" %%i in (`"%programfiles(x86)%\microsoft visual studio\installer\vswhere.exe" -version [17.0^,18.0^) -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
7 if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
8 call "%InstallDir%\Common7\Tools\vsdevcmd.bat
12 call :BuildBin x86 || goto :eof
13 call :BuildBin x64 || goto :eof
14 call :BuildBin ARM || goto :eof
15 call :BuildBin ARM64 || goto :eof
17 call :BuildBin %1 || goto :eof
20 pushd WinMerge32BitPluginProxy
21 MSBuild WinMerge32BitPluginProxy.vs2022.sln /t:Rebuild /p:Configuration="Release" /p:Platform="x86" || goto :eof
31 MSBuild VCPPPlugins.vs2022.sln /t:Rebuild /p:Configuration="Release" /p:Platform="%1" || goto :eof
35 copy src_VCPP\Build\%1\Release\MergePlugins\*.dll dlls\%1\
37 if exist "%SIGNBAT_PATH%" (
38 call "%SIGNBAT_PATH%" %~dp0dlls\%1\*.dll