set BASEPATH=%~dp0
set CFLAGS=-DLIBXML_STATIC -DCURL_STATICLIB
set LIBPATH=%BASEPATH%\libxml2-2.9.0\win32\VC9\Release\libxml2.lib %BASEPATH%\mecab-0.996\src\libmecab.lib  %BASEPATH%\sqlite-amalgamation-201404281756\sqlite3.obj %BASEPATH%\v8_3.26.26\tools\visual_studio\Release\v8.lib %BASEPATH%\curl-7.36.0\vs\vc9\lib\Release\libcurl.lib user32.lib ws2_32.lib winmm.lib Wldap32.lib Advapi32.lib
set INCLUDES=-I%BASEPATH%\libxml2-2.9.0\include -I%BASEPATH%\libxml2-2.9.0\Win32\VC9 -I%BASEPATH%\mecab-0.996\src -I%BASEPATH%\sqlite-amalgamation-201404281756 -I%BASEPATH%\v8_3.26.26\include\ -I%BASEPATH%\curl-7.36.0\include\
cl -MT -Os -Ox -EHsc html_fullsearch.cpp download.cpp pdf.js\pdfjs_v8.cpp %CFLAGS% %INCLUDES% %LIBPATH%
rem cl -MT -ZI -EHsc html_fullsearch.cpp download.cpp pdf.js\pdfjs_v8.cpp %CFLAGS% %INCLUDES% %LIBPATH%

