summaryrefslogtreecommitdiff
path: root/BanControl/vsproj/build.bat
diff options
context:
space:
mode:
Diffstat (limited to 'BanControl/vsproj/build.bat')
-rw-r--r--BanControl/vsproj/build.bat34
1 files changed, 34 insertions, 0 deletions
diff --git a/BanControl/vsproj/build.bat b/BanControl/vsproj/build.bat
new file mode 100644
index 0000000..c0b634b
--- /dev/null
+++ b/BanControl/vsproj/build.bat
@@ -0,0 +1,34 @@
+@echo off
+
+echo Building Resources...
+rc /r /fo ".\BanControl.res" ..\res\BanControl.rc
+
+
+echo Building ANSI version...
+
+\masm32\bin\ml /nologo /c /coff /Zi /Fl /Fm /Cp ..\plugin\BanControl.asm
+ if errorlevel 1 goto errasm
+\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"..\..\..\Miranda ANSI\plugins\BanControl.dll" BanControl.obj BanControl.res
+ if errorlevel 1 goto errlink
+
+
+echo Building Unicode version...
+
+\masm32\bin\ml /nologo /D_UNICODE /c /coff /Zi /Fl /Fm /Cp ..\plugin\BanControl.asm
+ if errorlevel 1 goto errasm
+\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"..\..\..\plugins\BanControl.dll" BanControl.obj BanControl.res
+ if errorlevel 1 goto errlink
+
+Echo Done.
+
+goto TheEnd
+:errasm
+echo _
+echo Assembly Error
+goto TheEnd
+:errlink
+echo _
+echo Link Error
+
+:TheEnd
+pause \ No newline at end of file