Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions PCbuild/regen.targets
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,14 @@
WorkingDirectory="$(PySourcePath)" />
</Target>

<Target Name="Regen" DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords">
<Target Name="Regen"
Condition="$(Configuration) != 'PGUpdate'"
DependsOnTargets="_TouchRegenSources;_RegenPegen;_RegenAST_H;_RegenOpcodes;_RegenTokens;_RegenKeywords">
<Message Text="Generated sources are up to date" Importance="high" />
</Target>


<ItemGroup>
<_TestFrozenSources Include="$(PySourcePath)Programs\freeze_test_frozenmain.py;
$(PySourcePath)Programs\test_frozenmain.py;
@(_OpcodeOutputs)" />
<_TestFrozenOutputs Include="$(PySourcePath)Programs\test_frozenmain.h" />
<_LicenseSources Include="$(PySourcePath)LICENSE;
$(PySourcePath)PC\crtlicense.txt;
$(bz2Dir)LICENSE;
Expand All @@ -112,5 +110,7 @@
<Message Text="Wrote $(OutDir)LICENSE.txt" Importance="high" />
</Target>

<Target Name="PostBuildRegen" DependsOnTargets="_RegenLicense" />
<Target Name="PostBuildRegen"
Condition="$(Configuration) != 'PGInstrument' and $(Configuration) != 'PGUpdate'"
DependsOnTargets="_RegenLicense" />
</Project>