summaryrefslogtreecommitdiff
path: root/plugins/QuickSearch
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-10-08 20:55:40 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-10-08 20:55:40 +0000
commitd7f4819e75de560d7ebb8d4c9e9c1bc4f6b55606 (patch)
tree784da594e135d3131bd74208c427bc880cf32331 /plugins/QuickSearch
parent86ae6a950c4843bdefde0100df840f27be8ca911 (diff)
pascal compilation fixes (may need adjustment)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickSearch')
-rw-r--r--plugins/QuickSearch/make.bat24
1 files changed, 13 insertions, 11 deletions
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