mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 10:02:30 +00:00
fix(build): install headers
This commit is contained in:
parent
cbd169a26a
commit
937e283e0b
2 changed files with 3 additions and 1 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
},
|
},
|
||||||
} }
|
} }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue