]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Adds support for building with VisualStudioVersion = 18.0 (GH-138980)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Sep 2025 13:37:28 +0000 (15:37 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 13:37:28 +0000 (14:37 +0100)
(cherry picked from commit 6920fa4bcddad4abb46a3ae40e16f13566d6cf26)

Co-authored-by: Steve Dower <steve.dower@python.org>
PCbuild/python.props

index 62f42d0ce9cb9e9701802a57fc067d5aaf7714f8..b97cbe2c986d7de4a08dce895515f911954d27f2 100644 (file)
@@ -11,6 +11,7 @@
 
     We set BasePlatformToolset for ICC's benefit, it's otherwise ignored.
     -->
+    <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and '$(VisualStudioVersion)' == '18.0'">v143</BasePlatformToolset>
     <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and '$(VisualStudioVersion)' == '17.0'">v143</BasePlatformToolset>
     <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and '$(VisualStudioVersion)' == '16.0'">v142</BasePlatformToolset>
     <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and ('$(MSBuildToolsVersion)' == '15.0' or '$(VisualStudioVersion)' == '15.0')">v141</BasePlatformToolset>