mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
ed12c0cd5a
It's still possible to disable via -Dvulkan=disabled We force-disable it on Mac OS. I don't know how to best handle it on Windows. Technically we don't need it, because the Vulkan stuff we want is about dmabufs, but I have no idea how to convince the build system to toggle the default to "disabled" on Windows, so it has to stay enabled for now.
15 lines
499 B
Batchfile
15 lines
499 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 -Dvulkan=disabled _build || goto :error
|
|
ninja -C _build || goto :error
|
|
|
|
goto :EOF
|
|
:error
|
|
exit /b 1
|