diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-08-30 17:41:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 17:41:27 (GMT) |
commit | 13c309f1101dc86ca0138f239d45cb009d0e898d (patch) | |
tree | 26c9955c9f17e8e4317b6ad29e9508b4d7c8d3f5 /PCbuild/regen.targets | |
parent | 4217393aeed42d67dd4b16a128528f5ca8d939c4 (diff) | |
download | cpython-13c309f1101dc86ca0138f239d45cb009d0e898d.zip cpython-13c309f1101dc86ca0138f239d45cb009d0e898d.tar.gz cpython-13c309f1101dc86ca0138f239d45cb009d0e898d.tar.bz2 |
Fix regeneration of global objects through the Windows build files (GH-96394)
Diffstat (limited to 'PCbuild/regen.targets')
-rw-r--r-- | PCbuild/regen.targets | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets index 9073bb6..3938b66 100644 --- a/PCbuild/regen.targets +++ b/PCbuild/regen.targets @@ -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> |