Skip to content

Meson: Re-structure warning-related compiler flags for Visual Studio (cairomm-1-14 branch)

Chun-wei Fan requested to merge fanc999/cairomm:msvc-warnings-1-14 into cairomm-1-14

Hi,

This attempts to update the Meson build files for the Visual Studio builds, just like the updates that were done in gtkmm1, where:

  • A short description is added for every warning-related compiler flag that we use for globally for Visual Studio.
  • Only apply /wd4267 for 64-bit builds, since it should be only applicable for 64-bit builds.
  • Compensate for the lack of msvc_recommended_pragmas.h, since cairomm does not depend on GLib (or glibmm) directly.

With blessings, thank you!

Merge request reports