mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.
This commit is contained in:
parent
1b80b24007
commit
a7a222fde7
4 changed files with 99 additions and 2 deletions
|
@ -83,6 +83,13 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<Target Name="ValidateUcrtbase" AfterTargets="AfterBuild">
|
||||
<PropertyGroup>
|
||||
<UcrtName>ucrtbase</UcrtName>
|
||||
<UcrtName Condition="'$(Configuration)' == 'Debug'">ucrtbased</UcrtName>
|
||||
</PropertyGroup>
|
||||
<Exec Command='"$(OutDir)python$(PyDebugExt).exe" "$(PySourcePath)PC\validate_ucrtbase.py" $(UcrtName)' ContinueOnError="true" />
|
||||
</Target>
|
||||
<Target Name="GeneratePythonBat" AfterTargets="AfterBuild">
|
||||
<PropertyGroup>
|
||||
<_Content>@rem This script invokes the most recently built Python with all arguments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue