summaryrefslogtreecommitdiffstats
path: root/PC/bdist_wininst/bdist_wininst.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2017-06-19 17:34:25 (GMT)
committerGitHub <noreply@github.com>2017-06-19 17:34:25 (GMT)
commit40a23e88994aca92c83c8e84ab8b8cdc11d7ec54 (patch)
tree5a04457af0c0d4be563bf1c153059564bc19c516 /PC/bdist_wininst/bdist_wininst.vcxproj
parenteb81795d7d3a8c898fa89a376d63fc3bbfb9a081 (diff)
downloadcpython-40a23e88994aca92c83c8e84ab8b8cdc11d7ec54.zip
cpython-40a23e88994aca92c83c8e84ab8b8cdc11d7ec54.tar.gz
cpython-40a23e88994aca92c83c8e84ab8b8cdc11d7ec54.tar.bz2
bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat (#2252)
* Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat Also fixes bdist_wininst.vcxproj to use correct version in generated name.
Diffstat (limited to 'PC/bdist_wininst/bdist_wininst.vcxproj')
-rw-r--r--PC/bdist_wininst/bdist_wininst.vcxproj4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/bdist_wininst/bdist_wininst.vcxproj b/PC/bdist_wininst/bdist_wininst.vcxproj
index 4dc5009..9bbfda2 100644
--- a/PC/bdist_wininst/bdist_wininst.vcxproj
+++ b/PC/bdist_wininst/bdist_wininst.vcxproj
@@ -58,6 +58,10 @@
<OutDir>$(PySourcePath)lib\distutils\command\</OutDir>
<LinkIncremental>false</LinkIncremental>
<TargetName>wininst-$(VisualStudioVersion)</TargetName>
+ <TargetName Condition="$(PlatformToolset) == 'v140'">wininst-14.0</TargetName>
+ <TargetName Condition="$(PlatformToolset) == 'v120'">wininst-12.0</TargetName>
+ <TargetName Condition="$(PlatformToolset) == 'v110'">wininst-11.0</TargetName>
+ <TargetName Condition="$(PlatformToolset) == 'v100'">wininst-10.0</TargetName>
<TargetName Condition="$(Platform) == 'x64'">$(TargetName)-amd64</TargetName>
<TargetExt>.exe</TargetExt>
</PropertyGroup>