tools: remove-build-arm64

This commit is contained in:
Bill Zissimopoulos
2021-12-16 16:06:27 +00:00
parent 3bcb025389
commit b2681ff9c8
2 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
@echo off
setlocal
setlocal EnableDelayedExpansion
if "%1"=="" (
cd %~dp0..\..
) else (
cd "%1"
)
for /r %%f in (*.vcxproj) do (
echo %%f
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0remove-vcxproj-config.ps1' -Path '%%f' -ProjectConfiguration '|ARM64'
)
for /r %%f in (*.sln) do (
echo %%f
findstr /V /C:"|ARM64" "%%f" > "%%f.new"
move /Y "%%f.new" "%%f" >nul
)