add module
This commit is contained in:
parent
f06532e756
commit
4739675642
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ pub fn build(b: *std.Build) void {
|
|||
// set a preferred release mode, allowing the user to decide how to optimize.
|
||||
const optimize = b.standardOptimizeOption(.{});
|
||||
|
||||
_ = b.addModule("silkdot", .{
|
||||
.root_source_file = .{ .path = "src/main.zig" },
|
||||
.target = target,
|
||||
.optimize = optimize,
|
||||
});
|
||||
|
||||
const lib = b.addStaticLibrary(.{
|
||||
.name = "master",
|
||||
// In this case the main source file is merely a path, however, in more
|
||||
|
|
Loading…
Add table
Reference in a new issue