Skip to content

Hiredict ported to the zig build system

License

MIT, BSD-3-Clause licenses found

Licenses found

MIT
LICENSE
BSD-3-Clause
LICENSE-HIREDICT
Notifications You must be signed in to change notification settings

allyourcodebase/hiredict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build.zig for hiredict

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

Status

Refname Hiredict version Zig 0.12.x Zig 0.13.x Zig 0.14.0-dev
1.3.1 1.3.1

Usage

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

zig fetch --save=hiredict git+https://github.com/afirium/hiredict#1.3.1

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

const hiredict = b.dependency("hiredict", .{
    .target = target,
    .optimize = optimize,
    .@"use-ssl" = true,
});
exe.linkLibrary(hiredict.artifact("hiredict"));
exe.linkLibrary(hiredict.artifact("hiredict_ssl")); // optional

A complete usage demonstration is provided in the example directory

About

Hiredict ported to the zig build system

Resources

License

MIT, BSD-3-Clause licenses found

Licenses found

MIT
LICENSE
BSD-3-Clause
LICENSE-HIREDICT

Stars

Watchers

Forks

Packages

No packages published