build.zig for sqlite3 source code amalgam
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-03 14:02:36 -06:00
.github/workflows sqlite3 build script 2025-12-01 13:53:15 -07:00
.gitignore update build script to zig 0.16.0 2026-04-15 15:47:06 -06:00
build.zig update build script to zig 0.16.0 2026-04-15 15:47:06 -06:00
build.zig.zon update sqlite amalgamation to 3.53.2 2026-06-03 14:02:36 -06:00
LICENSE sqlite3 build script 2025-12-01 13:53:15 -07:00
README.md sqlite3 build script 2025-12-01 13:53:15 -07:00

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");

This build script is licensed under the MIT License.

SQLite itself is dedicated to the public domain.