summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/SendLog/compile.bat
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-03-04 18:52:10 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-03-04 18:52:10 +0000
commita9e2b96e8d4664fddea569f0c233bc0b028555f1 (patch)
treeb55fa82e609cf319873dfafdb8529aff6efcd425 /plugins/NotifyAnything/SendLog/compile.bat
parent907045128b7dae896d45a40319eb86007df3e36b (diff)
- SndLog command line compilation method restored
git-svn-id: http://svn.miranda-ng.org/main/trunk@3886 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotifyAnything/SendLog/compile.bat')
-rw-r--r--plugins/NotifyAnything/SendLog/compile.bat31
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/NotifyAnything/SendLog/compile.bat b/plugins/NotifyAnything/SendLog/compile.bat
new file mode 100644
index 0000000000..f5dc4d40f0
--- /dev/null
+++ b/plugins/NotifyAnything/SendLog/compile.bat
@@ -0,0 +1,31 @@
+rem @echo off
+if not "%VS100COMNTOOLS%" == "" (
+ call "%VS100COMNTOOLS%\..\..\vc\vcvarsall.bat"
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc SendLog.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ "%VS100COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc SendLogWin.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ call :ProcessFiles 10
+)
+
+if not "%VS110COMNTOOLS%" == "" (
+ call "%VS110COMNTOOLS%\..\..\vc\vcvarsall.bat"
+ "%VS110COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc SendLog.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ "%VS110COMNTOOLS%\..\..\vc\bin\cl.exe" /MD /O2 /Os /EHsc SendLogWin.cpp SLImp.cpp /link ws2_32.lib user32.lib
+ call :ProcessFiles 11
+)
+goto :eof
+
+:ProcessFiles
+mkdir ..\..\..\bin%1\Debug 2>nul
+copy /Y *.exe ..\..\..\bin%1\Debug >nul
+
+mkdir ..\..\..\bin%1\Debug64 2>nul
+copy /Y *.exe ..\..\..\bin%1\Debug64 >nul
+
+mkdir ..\..\..\bin%1\Release 2>nul
+copy /Y *.exe ..\..\..\bin%1\Release >nul
+
+mkdir ..\..\..\bin%1\Release64 2>nul
+copy /Y *.exe ..\..\..\bin%1\Release64 >nul
+
+del *.obj;*.exe >nul
+goto :eof