We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1ae6f commit b3919b7Copy full SHA for b3919b7
build.zig
@@ -3,6 +3,9 @@ const std = @import("std");
3
pub fn build(b: *std.Build) void {
4
const target = b.standardTargetOptions(.{});
5
const optimize = b.standardOptimizeOption(.{});
6
+ const zigosc = b.addModule("zigosc", .{
7
+ .root_source_file = b.path("src/root.zig"),
8
+ });
9
10
const lib = b.addStaticLibrary(.{
11
.name = "zigosc",
@@ -12,6 +15,7 @@ pub fn build(b: *std.Build) void {
12
15
});
13
16
14
17
b.installArtifact(lib);
18
+ zigosc.linkLibrary(lib);
19
20
const lib_unit_tests = b.addTest(.{
21
.root_source_file = b.path("src/root.zig"),
0 commit comments