mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 09:40:10 +00:00
36f5cbeb57
Visual Studio 2019 brings C11 support and is actually needed (or best suited at least) if we are: * Building with debugging code enabled (/Zc:preprocessor is required) * Introspection works better on Visual Studio 2019 or later, also due to the preprocessor improvements. * Pulling in bleeding edge Cairo (and possibly soon, GLib) already requires C11 support.
14 lines
472 B
Batchfile
14 lines
472 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\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
@echo on
|
|
|
|
pip3 install --upgrade --user meson~=1.2 || goto :error
|
|
meson setup -Dbackend_max_links=1 -Ddebug=false -Dmedia-gstreamer=disabled -Dvulkan=disabled %~1 _build || goto :error
|
|
ninja -C _build || goto :error
|
|
|
|
goto :EOF
|
|
:error
|
|
exit /b 1
|