Add post-build event

This commit is contained in:
Changhua 2023-04-09 16:21:25 +08:00
parent c0708e49d0
commit f0bc322e7b
2 changed files with 6 additions and 3 deletions

View File

@ -127,7 +127,8 @@ xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetName).exp $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetName).lib $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetName).pdb $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)python\wcferry</Command>
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)python\wcferry
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)java\wcferry\src\main\resources\win32-x86-64</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Copy spy.dll</Message>
@ -170,7 +171,8 @@ C:\Tools\nanopb\protoc --nanopb_out=. wcf.proto
<PostBuildEvent>
<Command>if not exist $(SolutionDir)Out md $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)python\wcferry</Command>
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)python\wcferry
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)java\wcferry\src\main\resources\win32-x86-64</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Copy spy.dll</Message>

View File

@ -119,7 +119,8 @@
</Link>
<PostBuildEvent>
<Command>xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)Out
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)python\wcferry</Command>
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)python\wcferry
xcopy /y $(OutDir)$(TargetFileName) $(SolutionDir)java\wcferry\src\main\resources\win32-x86-64</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Copy files</Message>