Skip to content

Commit 13c309f

Browse files
Fix regeneration of global objects through the Windows build files (GH-96394)
1 parent 4217393 commit 13c309f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

PCbuild/regen.targets

+8-1
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,16 @@
8282
WorkingDirectory="$(PySourcePath)" />
8383
</Target>
8484

85+
<Target Name="_RegenGlobalObjects"
86+
DependsOnTargets="FindPythonForBuild">
87+
<Message Text="Regenerate Global Objects" Importance="high" />
88+
<Exec Command="$(PythonForBuild) Tools\scripts\generate_global_objects.py"
89+
WorkingDirectory="$(PySourcePath)" />
90+
</Target>
91+
8592
<Target Name="Regen"
8693
Condition="$(Configuration) != 'PGUpdate'"
87-
DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords">
94+
DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords;_RegenGlobalObjects">
8895
<Message Text="Generated sources are up to date" Importance="high" />
8996
</Target>
9097

0 commit comments

Comments
 (0)