Skip to content

Commit

Permalink
Add zig files
Browse files Browse the repository at this point in the history
  • Loading branch information
agagniere committed Sep 4, 2024
1 parent 093cfb3 commit 4ffb2f5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const std = @import("std");

pub fn build(b: *std.Build) void {
b.installDirectory(.{
.source_dir = b.path("include/blackmagic"),
.install_dir = .header,
.install_subdir = "blackmagic"
});
}
5 changes: 5 additions & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.{
.name = "Blackmagic",
.version = "0.2.0",
.paths = .{"include"}
}

0 comments on commit 4ffb2f5

Please sign in to comment.