summaryrefslogtreecommitdiffstats
path: root/PCbuild/python.props
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-06-11 22:03:17 (GMT)
committerSteve Dower <steve.dower@python.org>2019-06-11 22:03:17 (GMT)
commit04856c2193eb72d72c46b57fa08095235d732a73 (patch)
tree4a3b5f2f87d30ffb2f4e57a00eddd990b55fa83a /PCbuild/python.props
parent9b33ce48a7846dbdad32d4f8936b08e6b78a2faf (diff)
downloadcpython-04856c2193eb72d72c46b57fa08095235d732a73.zip
cpython-04856c2193eb72d72c46b57fa08095235d732a73.tar.gz
cpython-04856c2193eb72d72c46b57fa08095235d732a73.tar.bz2
bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-13988)
Diffstat (limited to 'PCbuild/python.props')
-rw-r--r--PCbuild/python.props1
1 files changed, 1 insertions, 0 deletions
diff --git a/PCbuild/python.props b/PCbuild/python.props
index 11638fe..e6642fc 100644
--- a/PCbuild/python.props
+++ b/PCbuild/python.props
@@ -10,6 +10,7 @@
We set BasePlatformToolset for ICC's benefit, it's otherwise ignored.
-->
+ <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and ('$(MSBuildToolsVersion)' == '16.0' or '$(VisualStudioVersion)' == '16.0')">v142</BasePlatformToolset>
<BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and ('$(MSBuildToolsVersion)' == '15.0' or '$(VisualStudioVersion)' == '15.0')">v141</BasePlatformToolset>
<BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and '$(VCTargetsPath14)' != ''">v140</BasePlatformToolset>
<BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and '$(VCTargetsPath12)' != ''">v120</BasePlatformToolset>