1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

sqlite: support for thirdparty/sqlite amalgamation install

This commit is contained in:
Delyan Angelov 2020-06-27 21:23:20 +03:00
parent 8e2a8cc7f3
commit 1e5a53abb3
3 changed files with 23 additions and 1 deletions

View File

@ -229,6 +229,7 @@ jobs:
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sdl.bat
.\.github\workflows\windows-install-sqlite.bat
- name: Fixed tests
run: |
.\v.exe test-fixed
@ -261,6 +262,7 @@ jobs:
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sdl.bat
.\.github\workflows\windows-install-sqlite.bat
- name: Fixed tests
run: |
./v -cg cmd\tools\vtest-fixed.v
@ -298,6 +300,7 @@ jobs:
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sdl.bat
.\.github\workflows\windows-install-sqlite.bat
- name: Fixed tests
run: |
.\v.exe test-fixed

View File

@ -0,0 +1,11 @@
REM @echo off
echo on
curl -L https://www.sqlite.org/2020/sqlite-amalgamation-3320300.zip -o sqlite-amalgamation-3320300.zip
unzip sqlite-amalgamation-3320300.zip -d thirdparty/
move /y thirdparty/sqlite-amalgamation-3320300 thirdparty/sqlite
dir thirdparty thirdparty\sqlite\ thirdparty/sqlite/

View File

@ -1,8 +1,16 @@
module sqlite
#flag -lsqlite3
#flag darwin -lsqlite3
#flag linux -lsqlite3
#flag solaris -lsqlite3
#flag freebsd -I/usr/local/include
#flag freebsd -Wl -L/usr/local/lib -lsqlite3
#flag windows -I@VROOT/thirdparty/sqlite
#flag windows -L@VROOT/thirdparty/sqlite
#flag windows @VROOT/thirdparty/sqlite/sqlite3.o
//#flag linux -I @VROOT/thirdparty/sqlite
//#flag @VROOT/thirdparty/sqlite/sqlite.c