danos/test/system/services/pci-cap-test/build.zig

16 lines
611 B
Zig

//! The pci-cap-test test fixture as a binary package (docs/build-packages-plan.md):
//! this file names the binary and EXACTLY the modules its source imports —
//! build-support resolves each name from the domains this zon declares.
const std = @import("std");
const build_support = @import("build-support");
pub fn build(b: *std.Build) void {
const exe = build_support.userBinary(b, .{
.name = "pci-cap-test",
.root_source_file = b.path("pci-cap-test.zig"),
.imports = &.{ "driver", "ipc", "logging", "mmio", "pci", "pci-class", "time" },
});
b.installArtifact(exe);
}