export module for interfaces
This commit is contained in:
parent
05115af93a
commit
0afe78a346
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user