Skip to content

allyourcodebase/libxml2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

libxml2

This is libxml2, packaged for Zig.

Installation

First, update your build.zig.zon:

# Initialize a `zig build` project if you haven't already
zig init
zig fetch --save git+https://github.com/allyourcodebase/libxml2.git

You can then import libxml2 in your build.zig with:

const libxml2_dependency = b.dependency("libxml2", .{
    .target = target,
    .optimize = optimize,
    .iconv = false, // This would link to `libiconv` otherwise
});
your_exe.linkLibrary(libxml2_dependency.artifact("libxml2"));

About

libxml2 ported to the zig build system

Topics

Resources

License

Stars

Watchers

Forks

Languages