summaryrefslogtreecommitdiff
path: root/tools/build_scripts/plugins/NotifyAnything/SendLog/compile32.bat
blob: db9e8ff67fab1c0858c2a5f192e94fc0b6f5cc66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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