mirror of
https://github.com/allyourcodebase/sqlite3.git
synced 2026-11-17 01:40:32 +00:00
build.zig for sqlite3 source code amalgam
- Zig 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| LICENSE | ||
| README.md | ||
This build script takes the SQLite source code amalgam and exposes a statically
linked sqlite3 library and the sqlite3 shell executable.
To add it to your build.zig.zon:
zig fetch --save git+https://github.com/allyourcodebase/sqlite3
Using it in your build script:
const sqlite3 = b.dependency("sqlite3", .{
.target = target,
.optimize = optimize,
});
const sqlite3_lib = b.artifact("sqlite3");
const sqlite3_exe = b.artifact("shell");