https://github.com/python/cpython/commit/d8898e1fbe50ddb5de6e537d2dc9f58178265944
commit: d8898e1fbe50ddb5de6e537d2dc9f58178265944
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: zooba <[email protected]>
date: 2025-10-08T16:13:13+01:00
summary:

Adds support for building with VisualStudioVersion = 18.0 (GH-138980)

(cherry picked from commit 6920fa4bcddad4abb46a3ae40e16f13566d6cf26)

Co-authored-by: Steve Dower <[email protected]>
Co-authored-by: Petr Viktorin <[email protected]>

files:
M PCbuild/python.props

diff --git a/PCbuild/python.props b/PCbuild/python.props
index d4d9a54248d648..cc1572526559ce 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -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>

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to