2021-04-29 15:09:04 +00:00
|
|
|
@echo on
|
|
|
|
:: vcvarsall.bat sets various env vars like PATH, INCLUDE, LIB, LIBPATH for the
|
|
|
|
:: specified build architecture
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
|
|
@echo on
|
|
|
|
|
|
|
|
:: FIXME: make warnings fatal
|
2022-12-18 05:49:14 +00:00
|
|
|
pip3 install --upgrade --user meson~=0.64 || goto :error
|
2024-01-07 13:34:04 +00:00
|
|
|
meson setup -Dbackend_max_links=1 -Ddebug=false -Dmedia-gstreamer=disabled -Dvulkan=disabled _build || goto :error
|
2021-04-29 15:09:04 +00:00
|
|
|
ninja -C _build || goto :error
|
|
|
|
|
|
|
|
goto :EOF
|
|
|
|
:error
|
|
|
|
exit /b 1
|