forked from pavel-pimenov/flylinkdc-r5xx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_flylinkdc_2013.bat
40 lines (28 loc) · 1.74 KB
/
build_flylinkdc_2013.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
del .\compiled\FlylinkDC.exe
del .\compiled\FlylinkDC.pdb
call UpdateRevision.bat %1 %2 %3 %4
if errorlevel 1 goto :error
call tools\ExtractVersion.bat %1 %2 %3 %4
if errorlevel 1 goto :error
call "%VS120COMNTOOLS%\..\..\VC\bin\vcvars32.bat"
"%VS120COMNTOOLS%..\ide\devenv" FlylinkDC_2013.sln /Rebuild "Release|Win32"
if not exist .\compiled\FlylinkDC.exe goto :builderror
rem "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\signtool.exe" sign /a /d "FlylinkDC++ r5xx" /du "http://flylinkdc.blogspot.com" /t http://timestamp.verisign.com/scripts/timstamp.dll ".\compiled\FlylinkDC.exe"
"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\signtool.exe" sign /v /d "FlylinkDC++ r5xx" /du "http://flylinkdc.blogspot.com" /fd sha1 /t http://timestamp.verisign.com/scripts/timstamp.dll ".\compiled\FlylinkDC.exe"
"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\signtool.exe" sign /as /v /d "FlylinkDC++ r5xx" /du "http://flylinkdc.blogspot.com" /fd sha256 /tr http://timestamp.comodoca.com/rfc3161 /td sha256 ".\compiled\FlylinkDC.exe"
call Tools\MakePortalBrowserFileList.bat
call src_gen_filename.bat -x86-vc2013
7z.exe a -r -t7z -m0=lzma -mx=9 -mfb=512 -md=1024m -ms=on -x@src_exclude_hard.txt [email protected] -ir@src_include_bin_x86.txt %FILE_NAME%.7z compiled/FlylinkDC.exe
svn log > changelog-flylinkdc-r5xx-svn.txt
for /l %%i in (1,1,20) do echo @tools\replace_str.vbs " | %%i lines" "" changelog-flylinkdc-r5xx-svn.txt
call src_gen_filename.bat -src
7z.exe a -r -t7z -m0=lzma -mx=9 -mfb=512 -md=1024m -ms=on %FILE_NAME%.7z -i@src_include.txt -x@src_exclude.txt [email protected] -x!./setup/*
goto :end
:error
echo Can't update/extract version/revision
pause
goto :end
:builderror
echo Compilation error. Building terminated.
pause
:end