all: use std.Build.installArtifact

This commit is contained in:
Vivek Roy 2023-04-13 16:53:31 -07:00 committed by Stephen Gutekanst
parent beef56a023
commit ff0258f27d
16 changed files with 53 additions and 53 deletions

View file

@ -25,7 +25,7 @@ pub fn build(b: *std.Build) void {
});
example_exe.addModule("sysaudio", sysaudio.module(b));
sysaudio.link(b, example_exe, .{});
example_exe.install();
b.installArtifact(example_exe);
const example_compile_step = b.step("example-" ++ example, "Compile '" ++ example ++ "' example");
example_compile_step.dependOn(b.getInstallStep());