summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z3_PackArchivesStable.bat
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-28 20:09:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-28 20:09:18 +0300
commite4fa578df9545982adf781b9c080f5ab4e71855c (patch)
tree6b0c8331dae2b683a92eed2a5c1421897a33c528 /tools/build_scripts/z3_PackArchivesStable.bat
parent53b994d2bb889e844d4eb38f8430e0bf8e09ac50 (diff)
adapting build scripts to use any compiler, not only vs2010
Diffstat (limited to 'tools/build_scripts/z3_PackArchivesStable.bat')
-rw-r--r--tools/build_scripts/z3_PackArchivesStable.bat7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/build_scripts/z3_PackArchivesStable.bat b/tools/build_scripts/z3_PackArchivesStable.bat
index 45696d3609..631967fd70 100644
--- a/tools/build_scripts/z3_PackArchivesStable.bat
+++ b/tools/build_scripts/z3_PackArchivesStable.bat
@@ -9,15 +9,18 @@ if /i '%tp%' == '64' set VcURL=http://download.microsoft.com/download/A/8/0/A807
if /i '%tp%' == '32' set CompileString=..\Tools\InnoSetup5\ISCC.exe /Dptx86 /DAppVer=%MirVer% "MirandaNG.iss"
if /i '%tp%' == '64' set CompileString=..\Tools\InnoSetup5\ISCC.exe /DAppVer=%MirVer% "MirandaNG.iss"
+set comp=%2
+if "%comp%"=="" (echo "please specify target compiler folder!" && pause && goto :EOF)
+
call a_SetVar%tp%.bat
if not exist %ArchDistr% mkdir %ArchDistr%
-pushd "bin10\Symbols%tp%"
+pushd "%comp%\Symbols%tp%"
%CompressIt% a -mx=9 "miranda-ng-debug-symbols_pdb%bit%.7z" *.pdb .\Plugins\*.pdb .\Core\*.pdb .\Libs\*.pdb
move /Y miranda-ng-debug*.7z %ArchDistr%
popd
-pushd "bin10\Release%tp%"
+pushd "%comp%\Release%tp%"
if exist %ArchDistr%\miranda-ng-v0.9*%bit%.7z del /F /Q %ArchDistr%\miranda-ng-v0.9*%bit%.7z
if exist %ArchDistr%\miranda-ng-v0.9*%bit%.exe del /F /Q %ArchDistr%\miranda-ng-v0.9*%bit%.exe