Skip to content
Browse files

Build on Windows using MSVC

  • Loading branch information...
1 parent 04b5b93 commit dec3ef15bbb2f602d0b5ed8c86545800acc51d11 @kersny committed Jul 12, 2011
Showing with 18 additions and 0 deletions.
  1. BIN msbuildpath.exe
  2. +18 −0 winbuild.bat
View
BIN msbuildpath.exe
Binary file not shown.
View
18 winbuild.bat
@@ -0,0 +1,18 @@
+echo off
+IF %1.==. GOTO Build
+IF %1==clean (
+ GOTO Clean
+) ELSE (
+ GOTO Build
+)
+:Build
+ for /f %%b IN ('msbuildpath.exe') do %%bMSBuild.exe libuv\msvs\libuv.sln
+ call "%VS100COMNTOOLS%vsvars32.bat"
+ FOR /F %%a IN ('msbuildpath.exe') DO %%aMSBuild.exe webserver.csproj
+ "%VCINSTALLDIR%bin\cl.exe" uv_wrap.c /o build/uvwrap.dll libuv/build/Win32/Debug/libuv.lib ws2_32.lib advapi32.lib /link /DLL /EXPORT:uv_init /EXPORT:manos_uv_tcp_t_size /EXPORT:uv_tcp_init /EXPORT:uv_tcp_listen /EXPORT:uv_accept /EXPORT:manos_uv_read_start /EXPORT:uv_run /EXPORT:manos_uv_tcp_bind
+GOTO :EOF
+:Clean
+ rmdir /S /Q build
+ rmdir /S /Q libuv\build
+ del /Q uv_wrap.obj
+GOTO :EOF

0 comments on commit dec3ef1

Please sign in to comment.
Something went wrong with that request. Please try again.