mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 10:02:30 +00:00
chore(build): remove mem dependency
This commit is contained in:
parent
3acd26453d
commit
f42a37ddd7
5 changed files with 85 additions and 7 deletions
|
|
@ -16,10 +16,6 @@ pub fn build(b: *std.Build) void {
|
|||
// Add system detection defines
|
||||
system.add_defines(bc);
|
||||
|
||||
// Publicly link mem
|
||||
const mem = b.dependency("mem", .{});
|
||||
bc.linkLibrary(mem.artifact("mem"));
|
||||
|
||||
bc.addIncludePath(b.path("."));
|
||||
|
||||
bc.addCSourceFiles(.{
|
||||
|
|
@ -48,6 +44,8 @@ pub fn build(b: *std.Build) void {
|
|||
|
||||
"bc/time/Time.cpp",
|
||||
|
||||
"bc/memory/Storm.cpp",
|
||||
|
||||
"bc/Debug.cpp",
|
||||
"bc/Lock.cpp",
|
||||
"bc/Memory.cpp",
|
||||
|
|
@ -72,7 +70,6 @@ pub fn build(b: *std.Build) void {
|
|||
// Add system detection defines
|
||||
system.add_defines(bc_test_exe);
|
||||
|
||||
bc_test_exe.linkLibrary(mem.artifact("mem"));
|
||||
bc_test_exe.linkLibrary(bc);
|
||||
|
||||
bc_test_exe.addIncludePath(b.path("."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue