From cb4a46e7fbe62d788e66ed6121c717a2d22a4d7c Mon Sep 17 00:00:00 2001 From: watcherhd Date: Thu, 21 Apr 2011 14:14:52 +0000 Subject: 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 --- dspcontrol/vsproj/release.bat | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dspcontrol/vsproj/release.bat (limited to 'dspcontrol/vsproj/release.bat') diff --git a/dspcontrol/vsproj/release.bat b/dspcontrol/vsproj/release.bat new file mode 100644 index 0000000..0bde609 --- /dev/null +++ b/dspcontrol/vsproj/release.bat @@ -0,0 +1,49 @@ +@echo off + +echo Building Resources... +rc /r /fo ".\DspControl.res" ..\res\DspControl.rc + + +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:"Release\ANSI\DspControl.dll" DspControl.obj DspControl.res + if errorlevel 1 goto errlink +move /Y Release\ANSI\DspControl.dll ..\bin\ANSI\DspControl_d.dll + +\masm32\bin\ml /nologo /c /coff /Cp ..\plugin\DspControl.asm + if errorlevel 1 goto errasm +\masm32\bin\Link /nologo /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Release\ANSI\DspControl.dll" DspControl.obj DspControl.res + if errorlevel 1 goto errlink +move /Y Release\ANSI\DspControl.dll ..\bin\ANSI\DspControl.dll + + +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:"Release\Unicode\DspControl.dll" DspControl.obj DspControl.res + if errorlevel 1 goto errlink +move /Y Release\Unicode\DspControl.dll ..\bin\Unicode\DspControl_d.dll + +\masm32\bin\ml /nologo /D_UNICODE /c /coff /Cp ..\plugin\dspcontrol.asm + if errorlevel 1 goto errasm +\masm32\bin\Link /nologo /DLL /DEF:..\plugin\DspControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib /OUT:"Release\Unicode\DspControl.dll" DspControl.obj DspControl.res + if errorlevel 1 goto errlink +move /Y Release\Unicode\DspControl.dll ..\bin\Unicode\DspControl.dll + +Echo Done. +cd + +goto TheEnd +:errasm +echo _ +echo Assembly Error +goto TheEnd +:errlink +echo _ +echo Link Error + +:TheEnd +pause \ No newline at end of file -- cgit v1.2.3