mirror of
https://github.com/python/cpython
synced 2024-09-05 00:05:39 +00:00
Fix regeneration of global objects through the Windows build files (GH-96394)
This commit is contained in:
parent
4217393aee
commit
13c309f110
|
@ -82,9 +82,16 @@
|
||||||
WorkingDirectory="$(PySourcePath)" />
|
WorkingDirectory="$(PySourcePath)" />
|
||||||
</Target>
|
</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"
|
<Target Name="Regen"
|
||||||
Condition="$(Configuration) != 'PGUpdate'"
|
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" />
|
<Message Text="Generated sources are up to date" Importance="high" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue