comparison deploy/win32/build.bat @ 732:66284838b373

Tentative bit of logic for bringing in TortoisePlink
author Chris Cannam
date Mon, 17 Dec 2018 13:35:48 +0000
parents a74515f1c6e8
children 7942b7633505
comparison
equal deleted inserted replaced
731:2cb03c4665aa 732:66284838b373
24 if not exist easyhg-kdiff3 ( 24 if not exist easyhg-kdiff3 (
25 hg clone https://code.soundsoftware.ac.uk/hg/easyhg-kdiff3 25 hg clone https://code.soundsoftware.ac.uk/hg/easyhg-kdiff3
26 ) 26 )
27 set KDIFFDIR=%STARTPWD%\easyhg-kdiff3\kdiff3\src-QT4 27 set KDIFFDIR=%STARTPWD%\easyhg-kdiff3\kdiff3\src-QT4
28 28
29 if not exist TortoiseSVN (
30 svn co http://svn.osdn.net/svnroot/tortoisesvn/trunk TortoiseSVN
31 )
32 if %errorlevel% neq 0 exit /b %errorlevel%
33 set TSVNDIR=%STARTPWD%\TortoiseSVN
34 set TPLINKDIR=%TSVNDIR%\ext\TortoisePlink
35
29 mkdir build_win32 36 mkdir build_win32
30 cd build_win32 37 cd build_win32
31 38
32 qmake -spec win32-msvc -r -tp vc ..\easyhg.pro 39 qmake -spec win32-msvc -r -tp vc ..\easyhg.pro
33 if %errorlevel% neq 0 exit /b %errorlevel% 40 if %errorlevel% neq 0 exit /b %errorlevel%
44 if %errorlevel% neq 0 exit /b %errorlevel% 51 if %errorlevel% neq 0 exit /b %errorlevel%
45 52
46 msbuild kdiff3.vcxproj /t:Build /p:Configuration=Release 53 msbuild kdiff3.vcxproj /t:Build /p:Configuration=Release
47 if %errorlevel% neq 0 exit /b %errorlevel% 54 if %errorlevel% neq 0 exit /b %errorlevel%
48 55
56 cd %TPLINKDIR%\windows\TPlink
57
58 msbuild TortoisePlink.vcxproj /t:Build /p:Configuration=Release
59 if %errorlevel% neq 0 exit /b %errorlevel%
60
49 cd %STARTPWD%\build_win32 61 cd %STARTPWD%\build_win32
50 62
51 copy %KDIFFDIR%\build_win32\release\kdiff3.exe .\release 63 copy %KDIFFDIR%\build_win32\release\kdiff3.exe .\release
64 copy %TSVNDIR%\bin\release\bin\TortoisePlink.exe .\release
52 65
53 copy %QTDIR%\bin\Qt5Core.dll .\release 66 copy %QTDIR%\bin\Qt5Core.dll .\release
54 copy %QTDIR%\bin\Qt5Gui.dll .\release 67 copy %QTDIR%\bin\Qt5Gui.dll .\release
55 copy %QTDIR%\bin\Qt5Widgets.dll .\release 68 copy %QTDIR%\bin\Qt5Widgets.dll .\release
56 copy %QTDIR%\bin\Qt5Network.dll .\release 69 copy %QTDIR%\bin\Qt5Network.dll .\release