2 setlocal enabledelayedexpansion
6 set "MSVC_PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC"
9 if not exist "%MSVC_PATH%\Auxiliary\Build\vcvarsall.bat" (
10 echo MSVC
not found. Please check your MSVC_PATH and try again^^
!
15 for %%p in
(x86
,x64
,ARM64
) do (
16 call "%MSVC_PATH%\Auxiliary\Build\vcvarsall.bat" %%p
17 for %%c in
(Static
,Shared
,Debug) do (
19 echo ------------------------------------------------------------------------------
21 echo ------------------------------------------------------------------------------
22 for %%t in
(Clean
,Rebuild
,Build
) do (
23 MSBuild.exe
/property
:Configuration=%%c
/property
:Platform=%%p
/target
:%%t
/verbosity
:normal "%CD%\HashSet.sln"
24 if not "!ERRORLEVEL!"=="0" goto:BuildFailed
30 echo Build completed successfully.
37 echo Build has failed ^^
!^^
!^^
!