fix(build): install headers

This commit is contained in:
phaneron 2024-07-03 14:38:11 -04:00
parent cbd169a26a
commit 937e283e0b
2 changed files with 3 additions and 1 deletions

View file

@ -58,6 +58,8 @@ pub fn build(b: *std.Build) void {
.flags = &.{"-std=c++11"} .flags = &.{"-std=c++11"}
}); });
bc.installHeadersDirectory(b.path("bc"), "bc", .{ .include_extensions = &.{"hpp"} });
// BcTest executable // BcTest executable
const bc_test_exe = b.addExecutable(.{ const bc_test_exe = b.addExecutable(.{
.name = "BcTest", .name = "BcTest",

View file

@ -11,6 +11,6 @@
}, },
.mem = .{ .mem = .{
.url = "https://github.com/thunderbrewhq/mem/archive/refs/heads/master.zip", .url = "https://github.com/thunderbrewhq/mem/archive/refs/heads/master.zip",
.hash = "122037f90f957dec643fe16e0092c8b971b7dd0a0f8096d00fa134e254053fbced87", .hash = "12205739d6afa86c264dde5ff94fdf7f14df68122054ce899934faf972d0b11d7ac5",
}, },
} } } }