export module for interfaces
All checks were successful
Build / build (push) Successful in 1m46s
Build / sign (push) Successful in 41s
Build / deploy (push) Successful in 1m1s

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

View File

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