mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
162759f34b
Linking on Windows can easily run out of memory, and limiting it to a single link operation (i.e. disabling parallelization) should be enough to avoid this problem.
15 lines
481 B
Batchfile
15 lines
481 B
Batchfile
@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
|
|
pip3 install --upgrade --user meson~=0.64 || goto :error
|
|
meson setup -Dbackend_max_links=1 -Ddebug=false -Dmedia-gstreamer=disabled _build || goto :error
|
|
ninja -C _build || goto :error
|
|
|
|
goto :EOF
|
|
:error
|
|
exit /b 1
|