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:
parent
7c03a16245
commit
663a809f90
1 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,15 @@ pub fn build(b: *std.build.Builder) !void {
|
||||||
// facil.io dependency with the module?
|
// facil.io dependency with the module?
|
||||||
try b.modules.put(b.dupe("zap"), zap_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 {
|
inline for ([_]struct {
|
||||||
name: []const u8,
|
name: []const u8,
|
||||||
src: []const u8,
|
src: []const u8,
|
||||||
|
|
Loading…
Add table
Reference in a new issue