We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee49a2b commit 75886c7Copy full SHA for 75886c7
build.zig
@@ -64,6 +64,7 @@ pub fn build(b: *std.Build) void {
64
.strip = strip,
65
});
66
test_exe.addCSourceFile(.{ .file = upstream.path("test").path(b, sub_path) });
67
+ if (std.mem.eql(u8, std.fs.path.extension(sub_path), ".cpp")) test_exe.linkLibCpp();
68
test_exe.linkLibrary(nfd);
69
70
install_tests_step.dependOn(&b.addInstallArtifact(test_exe, .{}).step);
0 commit comments