diff options
author | watcherhd <watcherhd@gmail.com> | 2017-08-05 18:28:13 +0300 |
---|---|---|
committer | watcherhd <watcherhd@gmail.com> | 2017-08-05 18:28:13 +0300 |
commit | 760c3ae475b4b39b486f72c7adb8c1f1d83b440f (patch) | |
tree | e3e08ebf880462db266321b8e1528f11d1b71cdf /tools/build_scripts/bin10 | |
parent | 6b3e2962bcf7917e0593da3f5c3605e923889fe2 (diff) |
build scripts for those who are willing to keep it all going
Diffstat (limited to 'tools/build_scripts/bin10')
-rw-r--r-- | tools/build_scripts/bin10/CRC32.exe | bin | 0 -> 47616 bytes | |||
-rw-r--r-- | tools/build_scripts/bin10/CheckSum.exe | bin | 0 -> 52224 bytes | |||
-rw-r--r-- | tools/build_scripts/bin10/MirUpdateStatrt.bat | 27 | ||||
-rw-r--r-- | tools/build_scripts/bin10/git_update.bat | 5 | ||||
-rw-r--r-- | tools/build_scripts/bin10/md5.exe | bin | 0 -> 49152 bytes | |||
-rw-r--r-- | tools/build_scripts/bin10/rebaser.exe | bin | 0 -> 4096 bytes | |||
-rw-r--r-- | tools/build_scripts/bin10/svn_update.bat | 21 | ||||
-rw-r--r-- | tools/build_scripts/bin10/vad.bat | 21 | ||||
-rw-r--r-- | tools/build_scripts/bin10/vad64.bat | 21 | ||||
-rw-r--r-- | tools/build_scripts/bin10/w_Rebuild_Plugins.bat | 21 | ||||
-rw-r--r-- | tools/build_scripts/bin10/z1_ReBuild_w810.bat | 15 |
11 files changed, 131 insertions, 0 deletions
diff --git a/tools/build_scripts/bin10/CRC32.exe b/tools/build_scripts/bin10/CRC32.exe Binary files differnew file mode 100644 index 0000000000..2cccdeb552 --- /dev/null +++ b/tools/build_scripts/bin10/CRC32.exe diff --git a/tools/build_scripts/bin10/CheckSum.exe b/tools/build_scripts/bin10/CheckSum.exe Binary files differnew file mode 100644 index 0000000000..65aac50d8f --- /dev/null +++ b/tools/build_scripts/bin10/CheckSum.exe diff --git a/tools/build_scripts/bin10/MirUpdateStatrt.bat b/tools/build_scripts/bin10/MirUpdateStatrt.bat new file mode 100644 index 0000000000..dc2e847478 --- /dev/null +++ b/tools/build_scripts/bin10/MirUpdateStatrt.bat @@ -0,0 +1,27 @@ +for %%i IN (1) do call taskkill /T /IM miranda32.exe +if %errorlevel% ==0 (goto :EXIT) else (goto :ACT) +:EXIT +timeout 1 +for %%i IN (1) do call taskkill /T /IM miranda32.exe +if %errorlevel% ==0 goto :EXIT + +:ACT +pushd Release +rd /s /q OBJ >nul +popd +xcopy /S /Y "Release\*.dll" "E:\MirandaNG\" +xcopy /S /Y "Release\*.mir" "E:\MirandaNG\" +copy /V /Y "Release\Plugins\tox.ini" "E:\MirandaNG\Plugins\" +copy /V /Y "Release\miranda32.exe" "E:\MirandaNG\" +del /F /S /Q "Release\*.dll" >> nul +del /F /S /Q "Release\*.mir" >> nul +del /F /Q "Release\miranda32.exe" + +rd /S /Q "Release" >nul + +pushd E:\MirandaNG +call rebaser.cmd +start /b miranda32.exe +cd Languages\Lang +svn update +popd
\ No newline at end of file diff --git a/tools/build_scripts/bin10/git_update.bat b/tools/build_scripts/bin10/git_update.bat new file mode 100644 index 0000000000..9936973e18 --- /dev/null +++ b/tools/build_scripts/bin10/git_update.bat @@ -0,0 +1,5 @@ +pushd .. + +git pull --rebase=true --progress -v 2>&1 > update.log + +popd
\ No newline at end of file diff --git a/tools/build_scripts/bin10/md5.exe b/tools/build_scripts/bin10/md5.exe Binary files differnew file mode 100644 index 0000000000..73c6d01ec9 --- /dev/null +++ b/tools/build_scripts/bin10/md5.exe diff --git a/tools/build_scripts/bin10/rebaser.exe b/tools/build_scripts/bin10/rebaser.exe Binary files differnew file mode 100644 index 0000000000..a3f0526daf --- /dev/null +++ b/tools/build_scripts/bin10/rebaser.exe diff --git a/tools/build_scripts/bin10/svn_update.bat b/tools/build_scripts/bin10/svn_update.bat new file mode 100644 index 0000000000..a6090591a4 --- /dev/null +++ b/tools/build_scripts/bin10/svn_update.bat @@ -0,0 +1,21 @@ +pushd .. + +del /F /Q version.txt + +svn cleanup + +svn update > update.log + +cd build + +for /F %%g in ('svnversion build.no') do set Revision=%%g + +for /F "tokens=1,2,3 delims= " %%i in (build.no) do set MirVer=%%i.%%j.%%k + +cd .. + +rem echo v%MirVer%_%Revision% > version.txt + +rem svn log -l 30 >> version.txt + +popd
\ No newline at end of file diff --git a/tools/build_scripts/bin10/vad.bat b/tools/build_scripts/bin10/vad.bat new file mode 100644 index 0000000000..d4d3ea10c5 --- /dev/null +++ b/tools/build_scripts/bin10/vad.bat @@ -0,0 +1,21 @@ +rem @echo off + +pushd ..\plugins + +pushd mRadio +call make.bat fpc 10 +if errorlevel 1 goto :Error +popd + +pushd QuickSearch +call make.bat fpc 10 +if errorlevel 1 goto :Error +popd + +popd +goto :eof + +:Error +echo ============================= FAIL! ============================= +pause +exit
\ No newline at end of file diff --git a/tools/build_scripts/bin10/vad64.bat b/tools/build_scripts/bin10/vad64.bat new file mode 100644 index 0000000000..cbc72d10f5 --- /dev/null +++ b/tools/build_scripts/bin10/vad64.bat @@ -0,0 +1,21 @@ +rem @echo off + +pushd ..\plugins + +pushd mRadio +call make.bat fpc64 10 +if errorlevel 1 goto :Error +popd + +pushd QuickSearch +call make.bat fpc64 10 +if errorlevel 1 goto :Error +popd + +popd +goto :eof + +:Error +echo ============================= FAIL! ============================= +pause +exit
\ No newline at end of file diff --git a/tools/build_scripts/bin10/w_Rebuild_Plugins.bat b/tools/build_scripts/bin10/w_Rebuild_Plugins.bat new file mode 100644 index 0000000000..484fcec41d --- /dev/null +++ b/tools/build_scripts/bin10/w_Rebuild_Plugins.bat @@ -0,0 +1,21 @@ +call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat" + +call git_update.bat + +if exist "Release" rd /Q /S "Release" >nul + +if exist "..\include\m_version.h" del /F /Q "..\include\m_version.h" +echo on +pushd ..\build +call make_ver.bat +popd + +MsBuild.exe "plugs_vad.sln" /m /t:Rebuild /p:Configuration=Release /p:Platform="Win32" /fileLogger /fileLoggerParameters:LogFile=Logs\plugs_vad.log;errorsonly;warningsonly + +call vad.bat + +rd /S /Q "Release\Obj" + +del /F /S /Q "Release\*.pdb" + +popd
\ No newline at end of file diff --git a/tools/build_scripts/bin10/z1_ReBuild_w810.bat b/tools/build_scripts/bin10/z1_ReBuild_w810.bat new file mode 100644 index 0000000000..f20def3076 --- /dev/null +++ b/tools/build_scripts/bin10/z1_ReBuild_w810.bat @@ -0,0 +1,15 @@ +set tp=%1 +if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF) +if /i '%tp%' == '64' set bt=64 +if /i '%tp%' == '32' ( + set ptr=Win32 +) else if /i '%tp%' == '64' ( + set ptr=X64 +) + +call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" + + +MsBuild.exe "fwin8_10.sln" /m /t:Rebuild /p:Configuration=Release;Platform="%ptr%" /fileLogger /fileLoggerParameters:LogFile=Logs\fwin8_10%tp%.log;errorsonly;warningsonly;summary + +exit |