From 4ffb2f557764f5287cd9eba09f44ad9906ffc241 Mon Sep 17 00:00:00 2001 From: Antoine Date: Wed, 4 Sep 2024 11:41:36 +0800 Subject: [PATCH] Add zig files --- build.zig | 9 +++++++++ build.zig.zon | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 build.zig create mode 100644 build.zig.zon diff --git a/build.zig b/build.zig new file mode 100644 index 0000000..0247a03 --- /dev/null +++ b/build.zig @@ -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" + }); +} diff --git a/build.zig.zon b/build.zig.zon new file mode 100644 index 0000000..fc68b2a --- /dev/null +++ b/build.zig.zon @@ -0,0 +1,5 @@ +.{ + .name = "Blackmagic", + .version = "0.2.0", + .paths = .{"include"} +}