summaryrefslogtreecommitdiff
path: root/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat')
-rw-r--r--tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat b/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat
new file mode 100644
index 0000000000..db9e8ff67f
--- /dev/null
+++ b/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat
@@ -0,0 +1,16 @@
+rem @echo off
+if not "%VS100COMNTOOLS%" == "" (
+ call "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat"
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc /I..\..\..\include SendLog.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc /I..\..\..\include SendLogWin.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ call :ProcessFiles 10
+)
+
+goto :eof
+
+:ProcessFiles
+mkdir ..\..\..\bin%1\Release 2>nul
+copy /Y *.exe ..\..\..\bin%1\Release >nul
+
+del *.obj;*.exe >nul
+goto :eof