1@echo off 2 3REM Build with jaraco/windows Docker image 4 5set PATH_OLD=%PATH% 6set PATH=C:\BuildTools\VC\Auxiliary\Build;%PATH_OLD% 7 8REM now for arm 64-bit 9REM Cross compile for arm64 10call VCVARSx86_arm64 11if "%ERRORLEVEL%"=="0" ( 12 cl /D "GUI=0" /D "WIN32_LEAN_AND_MEAN" launcher.c /O2 /link /MACHINE:arm64 /SUBSYSTEM:CONSOLE /out:setuptools/cli-arm64.exe 13 cl /D "GUI=1" /D "WIN32_LEAN_AND_MEAN" launcher.c /O2 /link /MACHINE:arm64 /SUBSYSTEM:WINDOWS /out:setuptools/gui-arm64.exe 14) else ( 15 echo Visual Studio 2019 with arm64 toolchain not installed 16) 17 18set PATH=%PATH_OLD% 19 20