https://github.com/python/cpython/commit/0c751cab39ddf107e1d366ab422e63cb632c2761
commit: 0c751cab39ddf107e1d366ab422e63cb632c2761
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: zooba <[email protected]>
date: 2025-09-17T14:37:28+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]>

files:
M PCbuild/python.props

diff --git a/PCbuild/python.props b/PCbuild/python.props
index 62f42d0ce9cb9e..b97cbe2c986d7d 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