2 :: vcvarsall.bat sets various env vars like PATH, INCLUDE, LIB, LIBPATH for the
3 :: specified build architecture
4 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
11 IF EXIST %BUILD_DIR% GOTO NOGVSBUILD
13 git clone --depth 1 https://github.com/wingtk/gvsbuild.git || goto :error
16 python.exe build.py --verbose --debug build -p x64 --vs-ver 15 --build-dir %BUILD_DIR% openssl glib || goto :error
21 set DEPS_DIR=%BUILD_DIR%\gtk\x64\release
22 set PATH=%DEPS_DIR%\bin;%PATH%
23 set LIB=%DEPS_DIR%\lib;%LIB%
24 set LIBPATH=%DEPS_DIR%\lib;%LIBPATH%
25 set INCLUDE=%DEPS_DIR%\include;%DEPS_DIR%\include\glib-2.0;%INCLUDE%
26 set PKG_CONFIG_PATH=%DEPS_DIR%\lib\pkgconfig
28 :: FIXME: make warnings fatal
29 pip3 install --upgrade --user meson==0.60.0 || goto :error
30 meson build -Dgnutls=disabled -Dopenssl=enabled || goto :error
31 ninja -C build || goto :error
33 meson test -C build --timeout-multiplier=10 || goto :error
35 :: FIXME: can we get code coverage support?