Fix regeneration of global objects through the Windows build files (GH-96394)

This commit is contained in:
Kumar Aditya 2022-08-30 23:11:27 +05:30 committed by GitHub
parent 4217393aee
commit 13c309f110
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,9 +82,16 @@
WorkingDirectory="$(PySourcePath)" />
</Target>
<Target Name="_RegenGlobalObjects"
DependsOnTargets="FindPythonForBuild">
<Message Text="Regenerate Global Objects" Importance="high" />
<Exec Command="$(PythonForBuild) Tools\scripts\generate_global_objects.py"
WorkingDirectory="$(PySourcePath)" />
</Target>
<Target Name="Regen"
Condition="$(Configuration) != 'PGUpdate'"
DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords">
DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords;_RegenGlobalObjects">
<Message Text="Generated sources are up to date" Importance="high" />
</Target>