From d7f4819e75de560d7ebb8d4c9e9c1bc4f6b55606 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Mon, 8 Oct 2012 20:55:40 +0000 Subject: pascal compilation fixes (may need adjustment) git-svn-id: http://svn.miranda-ng.org/main/trunk@1827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickSearch/make.bat | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'plugins/QuickSearch') diff --git a/plugins/QuickSearch/make.bat b/plugins/QuickSearch/make.bat index 36de9c338c..5f1b7ae598 100644 --- a/plugins/QuickSearch/make.bat +++ b/plugins/QuickSearch/make.bat @@ -1,17 +1,19 @@ -@echo off -set myopts=-dMiranda +rem @echo off +set OUTDIR="..\..\bin10\Release\Plugins" +if not exist %OUTDIR% mkdir %OUTDIR% +md tmp +set myopts=-O3 -Xs -Sd -dMiranda -FEtmp -Fi..\Utils.pas -Fu..\Utils.pas -Fu..\..\include\delphi -Fu..\..\include\delphi\reserve set dprname=quicksearch.dpr -..\delphi\brcc32.exe qs.rc -foqs.res +rem brcc32.exe qs.rc -foqs.res if /i '%1' == 'fpc' ( - ..\FPC\bin\fpc.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9 + fpc.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9 ) else if /i '%1' == 'fpc64' ( - ..\FPC\bin64\ppcrossx64.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9 -) else if /i '%1' == 'xe2' ( - ..\XE2\BIN\dcc32.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9 -) else if /i '%1' == 'xe64' ( - ..\XE2\BIN\dcc64.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9 -) else ( - ..\delphi\dcc32 %myopts% %dprname% %1 %2 %3 %4 %5 %6 %7 %8 %9 + ppcrossx64.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9 ) + +move tmp\quicksearch.dll . +del /Q tmp\* +rd tmp +move /y quicksearch.dll ..\..\bin10\Release\Plugins\QuickSearch.dll \ No newline at end of file -- cgit v1.2.3