diff --git a/ptypes-threads/build.bat b/ptypes-threads/build.bat index 1735e29..4c03cb5 100644 --- a/ptypes-threads/build.bat +++ b/ptypes-threads/build.bat @@ -1,4 +1,4 @@ @echo off -call ../vcppbuild.bat main "/link /LIBPATH:../ext/libs" +call ../vcppbuild.bat main "/link user32.lib ../ext/libs/ptypes.lib" main.exe pause \ No newline at end of file diff --git a/vcppbuild.bat b/vcppbuild.bat index f368e90..adb5a07 100644 --- a/vcppbuild.bat +++ b/vcppbuild.bat @@ -13,5 +13,5 @@ if exist "c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" ( goto compile ) :compile -cl.exe /Zi /nologo /W3 /WX- /O2 /Oi /Oy- /GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm- /EHsc /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /I"..\ext\include" %1.cpp %2 +cl.exe /MD /Zi /nologo /W3 /WX- /O2 /Oi /Oy- /GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm- /EHsc /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /I"..\ext\include" %1.cpp %2 del %1.obj \ No newline at end of file