sqlite: support for thirdparty/sqlite amalgamation install
							parent
							
								
									8e2a8cc7f3
								
							
						
					
					
						commit
						1e5a53abb3
					
				|  | @ -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 | ||||
|  |  | |||
|  | @ -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/ | ||||
|  | @ -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
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue