SHARE
TWEET

Untitled

a guest May 29th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @ECHO OFF
  2.  
  3. SETLOCAL
  4.  
  5. SET SQLITE_VER=3.7.3
  6. SET SQLITE_URL_VER=3_7_3
  7.  
  8. cd D:\trunk\Packages\LuaLibraries\luasql
  9. nmake -f Makefile.win.sqlite3 clean
  10.  
  11. md d:\trunk\packages\sqlite-%SQLITE_VER%
  12. cd d:\trunk\packages\sqlite-%SQLITE_VER%
  13. wget http://www.sqlite.org/sqlite-%SQLITE_URL_VER%.zip
  14. wget http://www.sqlite.org/sqlite-amalgamation-%SQLITE_URL_VER%.zip
  15. wget http://www.sqlite.org/sqlite_docs_%SQLITE_URL_VER%.zip
  16. wget http://www.sqlite.org/sqlite-source-%SQLITE_URL_VER%.zip
  17.  
  18. unzip sqlite-%SQLITE_URL_VER%.zip -d bin
  19. unzip sqlite-amalgamation-%SQLITE_URL_VER%.zip -d include
  20. unzip sqlite_docs_%SQLITE_URL_VER%.zip
  21. unzip sqlite-source-%SQLITE_URL_VER%.zip -d -d sources_just_for_reference
  22. ren sqlite-%SQLITE_URL_VER%-docs docs
  23.  
  24. cl /MD /W3 /O2 /DSQLITE_ENABLE_FTS3=1 include\sqlite3.c /link
  25. lib sqlite3.obj
  26. del sqlite3.obj
  27. md d:\trunk\packages\sqlite-%SQLITE_VER%\lib
  28. move sqlite3.lib d:\trunk\packages\sqlite-%SQLITE_VER%\lib\sqlite3.lib
  29.  
  30. xcopy d:\trunk\packages\sqlite-%SQLITE_VER%\bin\sqlite3.exe c:\path\sqlite3.exe /y
  31. luarocks install luasql-sqlite3 SQLITE_DIR=d:\trunk\packages\sqlite-%SQLITE_VER%
  32.  
  33. del sqlite-%SQLITE_URL_VER%.zip
  34. del sqlite-amalgamation-%SQLITE_URL_VER%.zip
  35. del sqlite_docs_%SQLITE_URL_VER%.zip
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top