blob: 33ee431e9fbbe05d4223391d2c8a413dda1b3934 (
plain)
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
41
42
43
44
45
46
47
48
49
50
51
|
@echo off
rem ---------------------------------------------------------------------------
rem Zip it
rem ---------------------------------------------------------------------------
pushd "..\bin9\Release Unicode64"
dir /B /S *.dll | ..\..\bin\rebaser
for /F "tokens=1,2,3 delims= " %%i in (..\..\bin\build.no) do call :Pack %%i %%j %%k
popd
goto :eof
:Nmake
echo.
echo ===========================================================================
echo Building %1
echo ===========================================================================
nmake /NOLOGO /f %1 CFG=%2
goto :eof
:SetBuildDate
set dd=%1
set mm=%2
set yy=%3
goto :eof
:SetBuildTime
set hh=%1
set mn=%2
goto :eof
:Pack
if %2 == 00 (
set FileVer=v0%1a%3w64.7z
) else (
set FileVer=v0%1%2a%3w64.7z
)
del /Q /F "%Temp%\miranda-%FileVer%"
"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-%FileVer%" ./*.exe ./*.dll ..\..\bin\ChangeLog.txt
del /Q /F "%Temp%\miranda-pdb-%FileVer%"
"%PROGRAMFILES%\7-zip\7z.exe" a -r -mx=9 "%Temp%\miranda-pdb-%FileVer%" ./*.pdb -x!Obj/*.pdb
goto :eof
:Error
echo Make failed
goto :eof
|