changeset 732:66284838b373

Tentative bit of logic for bringing in TortoisePlink
author Chris Cannam
date Mon, 17 Dec 2018 13:35:48 +0000
parents 2cb03c4665aa
children 7942b7633505
files deploy/win32/build.bat
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/win32/build.bat	Mon Dec 17 11:18:55 2018 +0000
+++ b/deploy/win32/build.bat	Mon Dec 17 13:35:48 2018 +0000
@@ -26,6 +26,13 @@
 )
 set KDIFFDIR=%STARTPWD%\easyhg-kdiff3\kdiff3\src-QT4
 
+if not exist TortoiseSVN (
+     svn co http://svn.osdn.net/svnroot/tortoisesvn/trunk TortoiseSVN
+)
+if %errorlevel% neq 0 exit /b %errorlevel%
+set TSVNDIR=%STARTPWD%\TortoiseSVN
+set TPLINKDIR=%TSVNDIR%\ext\TortoisePlink
+
 mkdir build_win32
 cd build_win32
 
@@ -46,9 +53,15 @@
 msbuild kdiff3.vcxproj /t:Build /p:Configuration=Release
 if %errorlevel% neq 0 exit /b %errorlevel%
 
+cd %TPLINKDIR%\windows\TPlink
+
+msbuild TortoisePlink.vcxproj /t:Build /p:Configuration=Release
+if %errorlevel% neq 0 exit /b %errorlevel%
+
 cd %STARTPWD%\build_win32
 
 copy %KDIFFDIR%\build_win32\release\kdiff3.exe .\release
+copy %TSVNDIR%\bin\release\bin\TortoisePlink.exe .\release
 
 copy %QTDIR%\bin\Qt5Core.dll .\release
 copy %QTDIR%\bin\Qt5Gui.dll .\release