export module for interfaces
Build / build (push) Successful in 1m46s Details
Build / sign (push) Successful in 41s Details
Build / deploy (push) Successful in 1m1s Details

This commit is contained in:
Emil Lerch 2023-10-04 06:47:05 -07:00
parent 05115af93a
commit 0afe78a346
Signed by: lobo
GPG Key ID: A7B62D657EF764F8
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,11 @@ pub fn build(b: *std.Build) void {
exe.linkLibC();
_ = b.addModule("flexilib-interface", .{
.source_file = .{ .path = "src/interface.zig" },
.dependencies = &[_]std.build.ModuleDependency{},
});
const lib = b.addSharedLibrary(.{
.name = "flexilib-sample-lib",
// In this case the main source file is merely a path, however, in more