summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-07-29 22:07:29 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-07-29 22:07:29 +0200
commitcf908fa9cadcf4bc29d65bfa89f1ec1b5d7c2d4f (patch)
treed5d73273592266b5de5b1379a4bd89ae1ac6edf4 /build.zig
parenta392744cc995d7c26730d2f1626612ad4739ca9b (diff)
Add testing for Db
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 6c85360..a31b313 100644
--- a/build.zig
+++ b/build.zig
@@ -31,6 +31,9 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});
+ exe_unit_tests.linkSystemLibrary("duckdb");
+ exe_unit_tests.linkLibC();
+ exe_unit_tests.linkLibCpp();
const run_exe_unit_tests = b.addRunArtifact(exe_unit_tests);
const test_step = b.step("test", "Run unit tests");
test_step.dependOn(&run_exe_unit_tests.step);