diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
commit | 48540940b6c28bb4378abfeb500ec45a625b37b6 (patch) | |
tree | 2ef294c0763e802f91d868bdef4229b6868527de /bin/make64.bat | |
parent | 5c350913f011e119127baeb32a6aedeb4f0d33bc (diff) |
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'bin/make64.bat')
-rw-r--r-- | bin/make64.bat | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/bin/make64.bat b/bin/make64.bat new file mode 100644 index 0000000000..33ee431e9f --- /dev/null +++ b/bin/make64.bat @@ -0,0 +1,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
|