1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

attempt to add facilio lib as static lib to zap

This commit is contained in:
Rene Schallner 2023-02-27 12:07:01 +01:00
parent 7c03a16245
commit 663a809f90

View file

@ -22,6 +22,15 @@ pub fn build(b: *std.build.Builder) !void {
// facil.io dependency with the module?
try b.modules.put(b.dupe("zap"), zap_module);
const facil_lib = b.addStaticLibrary(.{
.name = "facil.io",
.target = target,
.optimize = optimize,
});
facil_lib.linkLibrary(facil_dep.artifact("facil.io"));
facil_lib.install();
inline for ([_]struct {
name: []const u8,
src: []const u8,