summaryrefslogtreecommitdiff
path: root/PCbuild/pythoncore.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2017-09-06 10:01:38 -0700
committerGitHub <noreply@github.com>2017-09-06 10:01:38 -0700
commit5fcd5e64eec9ed67613b8fe7356fb8288151ceba (patch)
tree7f439fe482a133d7877977a255d518a5ee846024 /PCbuild/pythoncore.vcxproj
parentbcaac8188b1a1e67d2cc155609f0f883f036df33 (diff)
downloadcpython-git-5fcd5e64eec9ed67613b8fe7356fb8288151ceba.tar.gz
bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (#3311)
Diffstat (limited to 'PCbuild/pythoncore.vcxproj')
-rw-r--r--PCbuild/pythoncore.vcxproj3
1 files changed, 2 insertions, 1 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 8ebb22e0e2..763540e173 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -49,6 +49,7 @@
</ImportGroup>
<PropertyGroup>
<KillPython>true</KillPython>
+ <RequirePGCFiles>true</RequirePGCFiles>
</PropertyGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
@@ -429,7 +430,7 @@
</ClCompile>
</ItemGroup>
</Target>
- <Target Name="_WarnAboutToolset" BeforeTargets="PrepareForBuild" Condition="$(PlatformToolset) != 'v140'">
+ <Target Name="_WarnAboutToolset" BeforeTargets="PrepareForBuild" Condition="$(PlatformToolset) != 'v140' and $(PlatformToolset) != 'v141'">
<Warning Text="Toolset $(PlatformToolset) is not used for official builds. Your build may have errors or incompatibilities." />
</Target>
</Project>