Skip to content

Commit 68a14fe

Browse files
author
Peter Murray
committed
add module to build
1 parent ec133ae commit 68a14fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build.zig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ pub fn build(b: *std.Build) void {
1515
// set a preferred release mode, allowing the user to decide how to optimize.
1616
const optimize = b.standardOptimizeOption(.{});
1717

18+
_ = b.addModule("blowfish", .{
19+
.root_source_file = b.path("src/root.zig"),
20+
.target = target,
21+
.optimize = optimize,
22+
});
23+
1824
const lib = b.addStaticLibrary(.{
1925
.name = "blowfish",
2026
// In this case the main source file is merely a path, however, in more

0 commit comments

Comments
 (0)