diff options
Diffstat (limited to 'dspcontrol/vsproj/release.bat')
-rw-r--r-- | dspcontrol/vsproj/release.bat | 49 |
1 files changed, 49 insertions, 0 deletions
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 |