mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-19 01:30:39 -05:00
33 lines
848 B
Batchfile
33 lines
848 B
Batchfile
@echo off
|
|
@setlocal enableextensions
|
|
rem @cd /d "%~dp0\..\"
|
|
|
|
rem VS 2026
|
|
|
|
if exist "%ProgramFiles%\Microsoft Visual Studio\18\Community\VC\Auxiliary\Build\vcvarsall.bat" (
|
|
call "%ProgramFiles%\Microsoft Visual Studio\18\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64_arm64
|
|
goto start
|
|
)
|
|
|
|
if exist "%ProgramFiles%\Microsoft Visual Studio\18\Professional\VC\Auxiliary\Build\vcvarsall.bat" (
|
|
call "%ProgramFiles%\Microsoft Visual Studio\18\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64_arm64
|
|
goto start
|
|
)
|
|
|
|
echo VS 2026 was not found...
|
|
|
|
goto end
|
|
|
|
:start
|
|
msbuild simplewall.sln -property:Configuration=Release -property:Platform=x64 -verbosity:normal
|
|
if %ERRORLEVEL% neq 0 goto end
|
|
|
|
msbuild simplewall.sln -property:Configuration=Release -property:Platform=ARM64 -verbosity:normal
|
|
if %ERRORLEVEL% neq 0 goto end
|
|
|
|
:end
|
|
|
|
echo done...
|
|
|
|
pause
|