GNOME Bugzilla – Bug 790886
Improve Meson builds on Visual Studio
Last modified: 2017-11-27 08:47:42 UTC
Hi, There are now Meson build files for building glib-openssl, but then because the OpenSSL build system for Visual Studio does not generate the pkg-config (or so) files for us, we need to detect the OpenSSL installation by hand, using cc.has_header() and cc.has_library(), when we can't find the pkg-config files on Visual Studio builds. Also, we could simplify things a little bit as we could just force-include (/FI) the msvc_recommended_pragmas.h header file that comes with GLib, so that we can silence warnings that don't matter that much and bail our on warnings that can really raise concern. With blessing, thank you!
Created attachment 364481 [details] [review] meson: Improve Visual Studio build experience Hi, This is the patch to meson.build that aims to improve the build experience on Visual Studio. With blessings, thank you!
Review of attachment 364481 [details] [review]: Thanks for the patches, they look good to me and I can finally remove the hand-made openssl pc files from gvsbuild
Review of attachment 364481 [details] [review]: Hi Nacho, Thanks for the fast review, I have pushed the patch as d36e23e. With blessings, thank you!