Introduce build-deps.py, deprecate build-deps.cmd

Moving to Python to make Windows build scripts more maintainable.

It's intended to be a drop-in replacement, so it should be possible to just switch `.\build-deps.cmd` to `python build-deps.py`, keeping exactly the same arguments and behaviour will be the same.
`build-deps.cmd` is deprecated, but not yet removed, but will be shortly after more testing.

Other batch files will be migrated to Python shortly after too.
This commit is contained in:
Andrej730
2026-09-09 16:26:01 +05:00
parent b588d52ebe
commit bfce5b9415
14 changed files with 2016 additions and 35 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ setlocal EnableDelayedExpansion
call vs-cfg.cmd %1
if not %ERRORLEVEL%==0 GOTO :Error
:: Use "yes" trick to break the pause in build-deps.cmd
echo y | call .\build-deps %1 %2
:: Use "yes" trick to break the pause in build-deps.py
echo y | python build-deps.py %1 %2
if not %ERRORLEVEL%==0 goto :EOF
:: Same trick as in run-cmake.bat
set ARGUMENTS=%*