diff options
author | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-21 14:14:52 +0000 |
---|---|---|
committer | watcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-04-21 14:14:52 +0000 |
commit | cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c (patch) | |
tree | 30df260fdc5a1b5a7049c2f8cac8b7ef17513d6d /dspcontrol/vsproj/build.bat | |
parent | 19b6f534d2e784a1e120bf52c4aa07004798f473 (diff) |
svn.miranda.im is moving to a new home!
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'dspcontrol/vsproj/build.bat')
-rw-r--r-- | dspcontrol/vsproj/build.bat | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dspcontrol/vsproj/build.bat b/dspcontrol/vsproj/build.bat new file mode 100644 index 0000000..c5eee8c --- /dev/null +++ b/dspcontrol/vsproj/build.bat @@ -0,0 +1,36 @@ +@echo off
+echo '
+echo Building Resources...
+rc /r /fo ".\DspControl.res" ..\res\DspControl.rc
+
+echo '
+echo Building ANSI version...
+
+\masm32\bin\ml /nologo /c /coff /Zi /Fl /Fm /Cp ..\plugin\DspControl.asm
+ if errorlevel 1 goto errasm
+\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Debug\ANSI\DspControl.dll" DspControl.obj DspControl.res
+ if errorlevel 1 goto errlink
+
+echo '
+echo Building Unicode version...
+
+\masm32\bin\ml /nologo /D_UNICODE /c /coff /Zi /Fl /Fm /Cp ..\plugin\DspControl.asm
+ if errorlevel 1 goto errasm
+\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Debug\Unicode\DspControl.dll" DspControl.obj DspControl.res
+ if errorlevel 1 goto errlink
+
+echo '
+echo Done.
+goto TheEnd
+
+:errasm
+echo '
+echo Assembly Error
+goto TheEnd
+
+:errlink
+echo '
+echo Link Error
+
+:TheEnd
+pause
\ No newline at end of file |