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

About

json-c ported to the zig build system

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

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

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages