https://github.com/allyourcodebase/sqlite3
build.zig for sqlite3 source code amalgam
https://github.com/allyourcodebase/sqlite3
Last synced: 13 days ago
JSON representation
build.zig for sqlite3 source code amalgam
- Host: GitHub
- URL: https://github.com/allyourcodebase/sqlite3
- Owner: allyourcodebase
- License: mit
- Created: 2025-12-01T20:52:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-06-03T20:02:40.000Z (about 1 month ago)
- Last Synced: 2026-06-03T22:04:30.128Z (about 1 month ago)
- Language: Zig
- Size: 4.88 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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:
```zig
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](./LICENSE).
[SQLite itself is dedicated to the public domain](https://sqlite.org/copyright.html).