Skip to content

Commit

Permalink
Added a post-build event to delete GameShortcut.exe from the output d…
Browse files Browse the repository at this point in the history
…irectory
  • Loading branch information
ClementDreptin committed Oct 27, 2021
1 parent fe17b46 commit 433e3c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions GameShortcut/GameShortcut.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
<DeploymentType>CopyToHardDrive</DeploymentType>
<DeploymentFiles>$(RemoteRoot)=$(ImagePath);$(RemoteRoot)\config=$(OutDir)config</DeploymentFiles>
</Deploy>
<PostBuildEvent>
<Command>del $(OutDir)$(TargetName)$(TargetExt)</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Delete $(OutDir)$(TargetName)$(TargetExt)</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\main.cpp" />
Expand Down

0 comments on commit 433e3c4

Please sign in to comment.