mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
fix(build): link headers properly
This commit is contained in:
parent
f8544e9fe4
commit
0e328943c6
2 changed files with 1 additions and 6 deletions
|
|
@ -22,10 +22,8 @@ pub fn build(b: *std.Build) void {
|
||||||
const mem = b.dependency("mem", .{});
|
const mem = b.dependency("mem", .{});
|
||||||
const bc = b.dependency("bc", .{});
|
const bc = b.dependency("bc", .{});
|
||||||
// Publicly link mem
|
// Publicly link mem
|
||||||
storm.addIncludePath(mem.path("."));
|
|
||||||
storm.linkLibrary(mem.artifact("mem"));
|
storm.linkLibrary(mem.artifact("mem"));
|
||||||
// Link bc
|
// Link bc
|
||||||
storm.addIncludePath(bc.path("."));
|
|
||||||
storm.linkLibrary(bc.artifact("bc"));
|
storm.linkLibrary(bc.artifact("bc"));
|
||||||
|
|
||||||
// Include squall project directory
|
// Include squall project directory
|
||||||
|
|
@ -130,9 +128,6 @@ pub fn build(b: *std.Build) void {
|
||||||
|
|
||||||
storm_test_exe.linkLibrary(storm);
|
storm_test_exe.linkLibrary(storm);
|
||||||
|
|
||||||
storm_test_exe.addIncludePath(mem.path("."));
|
|
||||||
storm_test_exe.addIncludePath(b.path("."));
|
|
||||||
|
|
||||||
storm_test_exe.addCSourceFiles(.{
|
storm_test_exe.addCSourceFiles(.{
|
||||||
.files = &.{
|
.files = &.{
|
||||||
"test/big/Ops.cpp",
|
"test/big/Ops.cpp",
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
.bc = .{
|
.bc = .{
|
||||||
.url = "https://github.com/thunderbrewhq/bc/archive/refs/heads/master.zip",
|
.url = "https://github.com/thunderbrewhq/bc/archive/refs/heads/master.zip",
|
||||||
.hash = "122095e77b9c52e9a317b57474d9735e82973bb46e011b36107b2a9d55bb62a7704b",
|
.hash = "12204e26a0419991cf2b34acc8a4685b893d45ac1b553ba41480ad14d1da1cee98ed",
|
||||||
},
|
},
|
||||||
.mem = .{
|
.mem = .{
|
||||||
.url = "https://github.com/thunderbrewhq/mem/archive/refs/heads/master.zip",
|
.url = "https://github.com/thunderbrewhq/mem/archive/refs/heads/master.zip",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue