mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (#3311)
This commit is contained in:
parent
bcaac8188b
commit
5fcd5e64ee
10 changed files with 86 additions and 13 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue