summaryrefslogtreecommitdiff
path: root/plugins/mRadio/make.bat
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/mRadio/make.bat
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/mRadio/make.bat')
-rw-r--r--plugins/mRadio/make.bat26
1 files changed, 14 insertions, 12 deletions
diff --git a/plugins/mRadio/make.bat b/plugins/mRadio/make.bat
index d77976f0b3..2156c943da 100644
--- a/plugins/mRadio/make.bat
+++ b/plugins/mRadio/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 -Fu..\Libs
set dprname=mradio.dpr
-..\delphi\brcc32.exe mradio.rc -fomradio.res
+rem brcc32.exe mradio.rc -fomradio.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 -b -dUNICODE_CTRLS -dKOL_MCK %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
-) else if /i '%1' == 'xe64' (
- ..\XE2\BIN\dcc64.exe -b -dUNICODE_CTRLS -dKOL_MCK %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
-) else (
- ..\delphi\dcc32 -b -dUNICODE_CTRLS -dKOL_MCK %myopts% %dprname% %1 %2 %3 %4 %5 %6 %7 %8 %9
-) \ No newline at end of file
+ ppcrossx64.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
+)
+
+move tmp\mradio.dll .
+del /Q tmp\*
+rd tmp
+move /y mradio.dll ..\..\bin10\Release\Plugins\mRadio.dll \ No newline at end of file