diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-22 12:51:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-22 12:51:31 +0300 |
commit | f5c13759fa223cf295888c6b59f39b2dbd845ea1 (patch) | |
tree | be84384d534922b06f18af906d3d339dffc2d3df /protocols | |
parent | 5ffc975f9825fb8878077efaf677aea7b2b8e2a4 (diff) |
compilation fix
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Tox/Tox.vcxproj | 8 | ||||
-rw-r--r-- | protocols/Tox/copydll.cmd | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/protocols/Tox/Tox.vcxproj b/protocols/Tox/Tox.vcxproj index a6bc2422b8..622d96816b 100644 --- a/protocols/Tox/Tox.vcxproj +++ b/protocols/Tox/Tox.vcxproj @@ -33,12 +33,10 @@ <AdditionalDependencies>Winmm.lib;dnsapi.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent Condition="'$(Platform)'=='Win32'">
- <Command>xcopy bin\x86\libtox.* "$(SolutionDir)$(Configuration)\Libs\libtox.*" /y
-tools\cv2pdb.exe "$(SolutionDir)$(Configuration)\Libs\libtox.dll"</Command>
+ <Command>call copydll.cmd x86 "$(OutputPath)..\Libs"</Command>
</PostBuildEvent>
<PostBuildEvent Condition="'$(Platform)'=='x64'">
- <Command>xcopy bin\x64\libtox.* "$(SolutionDir)$(Configuration)64\Libs\libtox.*" /y
-tools\cv2pdb.exe "$(SolutionDir)$(Configuration)64\Libs\libtox.dll"</Command>
+ <Command>call copydll.cmd x64 "$(OutputPath)..\Libs"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
@@ -55,4 +53,4 @@ tools\cv2pdb.exe "$(SolutionDir)$(Configuration)64\Libs\libtox.dll"</Command> <Project>{f6a9340e-b8d9-4c75-be30-47dc66d0abc7}</Project>
</ProjectReference>
</ItemGroup>
-</Project>
+</Project>
\ No newline at end of file diff --git a/protocols/Tox/copydll.cmd b/protocols/Tox/copydll.cmd new file mode 100644 index 0000000000..4b1f0fb50c --- /dev/null +++ b/protocols/Tox/copydll.cmd @@ -0,0 +1,5 @@ +echo off +cd /d ~dp%0 +copy /y bin\%1\libtox.* "%2" +tools\cv2pdb.exe "%2\libtox.dll" +exit 0 |