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
+1 -1
View File
@@ -188,7 +188,7 @@ IF NOT "%CMAKE_PATH%"=="" (
FOR /f "delims=" %%i in ('cmake --version ^| findstr /C:"cmake version 4"') DO GOTO :CMake3AndNewer
)
:: reject older CMake, see also build-deps.cmd
:: reject older CMake, see also build-deps.py
echo "CMake v3.21.0 or higher is required"
exit /b 1