diff options
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 |