https://github.com/python/cpython/commit/6920fa4bcddad4abb46a3ae40e16f13566d6cf26
commit: 6920fa4bcddad4abb46a3ae40e16f13566d6cf26
branch: main
author: Steve Dower <[email protected]>
committer: zooba <[email protected]>
date: 2025-09-16T13:41:36Z
summary:

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

files:
M PCbuild/python.props

diff --git a/PCbuild/python.props b/PCbuild/python.props
index e1c2ff3fe3cc11..06af15a269ccd9 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