mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 12:47:59 +08:00
e00234bedd
* [glib] Update to 2.70.5 (microsoft#23647) See https://github.com/GNOME/glib/commits/glib-2-70 for an extensive list of changes * [glibmm] update to 2.70 (microsoft#23649) See https://github.com/GNOME/glibmm/commits/glibmm-2-70 for an extensive list of changes * [glibmm] support msvc2022 (microsoft#23650) The latest release of glibmm manually configures the v142 compiler toolchain to be used on msvc2022 environments, which results in binarycache and export metadata to indicate msvc's v143 compiler having built the package while it was in fact the v142 toolchain from the windows sdk. Upstream has "fixed" this issue, but the patch didn't make it into the latest release. Apply https://github.com/GNOME/glibmm/commit/b3a77c3 manually on our side to make sure we use the toolchain we instructed to be used.
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
commit b3a77c3f0b7dd2e1405a781ac9a76f648779d7fa
|
|
Author: Chun-wei Fan <fanchunwei@src.gnome.org>
|
|
Date: Tue Nov 9 14:28:14 2021 +0800
|
|
|
|
Build: Support VS2022 builds
|
|
|
|
Make these builds distinct from the Visual Studio 2019 builds.
|
|
|
|
diff --git a/MSVC_NMake/detectenv-msvc.mak b/MSVC_NMake/detectenv-msvc.mak
|
|
index 6933505d..16d57810 100644
|
|
--- a/MSVC_NMake/detectenv-msvc.mak
|
|
+++ b/MSVC_NMake/detectenv-msvc.mak
|
|
@@ -98,9 +98,12 @@ PDBVER = 14
|
|
!if $(VCVERSION) > 1909 && $(VCVERSION) < 1920
|
|
VSVER_SUFFIX = 1
|
|
VSVER = 15
|
|
-!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 2000
|
|
+!elseif $(VCVERSION) > 1919 && $(VCVERSION) < 1930
|
|
VSVER_SUFFIX = 2
|
|
VSVER = 16
|
|
+!elseif $(VCVERSION) > 1929 && $(VCVERSION) < 2000
|
|
+VSVER_SUFFIX = 3
|
|
+VSVER = 17
|
|
!else
|
|
VSVER = $(PDBVER)
|
|
!endif
|
|
diff --git a/meson.build b/meson.build
|
|
index b7c7f77e..a2ee5ef3 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -231,7 +231,9 @@ if is_msvc
|
|
add_project_arguments(disabled_warnings, language: 'cpp')
|
|
|
|
if use_msvc14x_toolset_ver
|
|
- if cpp_compiler.version().version_compare('>=19.20')
|
|
+ if cpp_compiler.version().version_compare('>=19.30')
|
|
+ msvc14x_toolset_ver = '-vc143'
|
|
+ elif cpp_compiler.version().version_compare('>=19.20')
|
|
msvc14x_toolset_ver = '-vc142'
|
|
elif cpp_compiler.version().version_compare('>=19.10')
|
|
msvc14x_toolset_ver = '-vc141'
|