db.sqlite: add instructions for installing SQLite's amalgamation or development package, if it is missing

This commit is contained in:
Delyan Angelov 2024-09-10 17:20:20 +03:00
parent d27ab09cdf
commit f890566199
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -8,12 +8,12 @@ $if windows {
#flag windows -I@VEXEROOT/thirdparty/sqlite
#flag windows -L@VEXEROOT/thirdparty/sqlite
#flag windows @VEXEROOT/thirdparty/sqlite/sqlite3.o
#include "sqlite3.h" # The SQLite header file is missing. Please run .github/workflows/windows-install-sqlite.bat to download an SQLite amalgamation.
} $else {
#flag -lsqlite3
#include "sqlite3.h" # The SQLite header file is missing. Please install its development package first.
}
#include "sqlite3.h"
// https://www.sqlite.org/rescode.html
pub const sqlite_ok = 0
pub const sqlite_error = 1