From f5c13759fa223cf295888c6b59f39b2dbd845ea1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 Aug 2017 12:51:31 +0300 Subject: compilation fix --- protocols/Tox/Tox.vcxproj | 8 +++----- protocols/Tox/copydll.cmd | 5 +++++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 protocols/Tox/copydll.cmd (limited to 'protocols') 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 @@ Winmm.lib;dnsapi.lib;comctl32.lib;%(AdditionalDependencies) - xcopy bin\x86\libtox.* "$(SolutionDir)$(Configuration)\Libs\libtox.*" /y -tools\cv2pdb.exe "$(SolutionDir)$(Configuration)\Libs\libtox.dll" + call copydll.cmd x86 "$(OutputPath)..\Libs" - xcopy bin\x64\libtox.* "$(SolutionDir)$(Configuration)64\Libs\libtox.*" /y -tools\cv2pdb.exe "$(SolutionDir)$(Configuration)64\Libs\libtox.dll" + call copydll.cmd x64 "$(OutputPath)..\Libs" @@ -55,4 +53,4 @@ tools\cv2pdb.exe "$(SolutionDir)$(Configuration)64\Libs\libtox.dll" {f6a9340e-b8d9-4c75-be30-47dc66d0abc7} - + \ 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 -- cgit v1.2.3