diff options
Diffstat (limited to 'PCbuild/regen.targets')
-rw-r--r-- | PCbuild/regen.targets | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/PCbuild/regen.targets b/PCbuild/regen.targets index 27fdd6e..9492cff 100644 --- a/PCbuild/regen.targets +++ b/PCbuild/regen.targets @@ -101,7 +101,8 @@ </ItemGroup> <Target Name="_RegenTestFrozenmain" Inputs="@(_TestFrozenSources)" Outputs="@(_TestFrozenOutputs)" - Condition="$(Platform) == 'Win32' or $(Platform) == 'x64'"> + Condition="($(Platform) == 'Win32' or $(Platform) == 'x64') and + $(Configuration) != 'PGInstrument' and $(Configuration) != 'PGUpdate'"> <Message Text="Regenerate @(_TestFrozenOutputs->'%(Filename)%(Extension)', ' ')" Importance="high" /> <Exec Command="$(PythonExe) Programs\freeze_test_frozenmain.py Programs/test_frozenmain.h" WorkingDirectory="$(PySourcePath)" /> @@ -121,7 +122,5 @@ <Message Text="Wrote $(OutDir)LICENSE.txt" Importance="high" /> </Target> - <Target Name="PostBuildRegen" - Condition="$(Configuration) != 'PGInstrument' and $(Configuration) != 'PGUpdate'" - DependsOnTargets="_RegenTestFrozenmain;_RegenLicense" /> + <Target Name="PostBuildRegen" DependsOnTargets="_RegenTestFrozenmain;_RegenLicense" /> </Project> |