Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Orolia2s/json-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build.zig for json-c

Provides a package to be used by the zig package manager for C programs.

Use

Add the dependency in your build.zig.zon by running the following command:

zig fetch --save git+https://github.com/Orolia2s/json-c#0.17

Then, in your build.zig:

const jsonc = b.dependency("json-c", { .target = target, .optimize = optimize });
const libjsonc = jsonc.artifact("json-c");
// wherever needed:
exe.linkLibrary(libjsonc);

About

json-c ported to the zig build system

Topics

Resources

License

Stars

Watchers

Forks

Languages