[mirror] Zig bindings to libpcre https://github.com/kivikakk/libpcre.zig
Go to file
Amelia Cuss 43b9b5865b remove Windows support. 2024-04-28 12:40:56 +03:00
.github/workflows remove Windows support. 2024-04-28 12:40:56 +03:00
src zig 0.12 adjustments. 2024-04-22 11:20:26 +03:00
.gitattributes update gitattributes 2022-01-19 02:15:06 -08:00
.gitignore add Zigmod support 2021-08-06 19:42:31 -07:00
LICENSE wip 2020-08-20 14:04:11 +10:00
README.md remove Windows support. 2024-04-28 12:40:56 +03:00
build.zig build: addVcpkgPaths doesn't exist any more. ¯\_(ツ)_/¯ 2024-04-22 14:20:00 +03:00

libpcre.zig

Build status

To build, add to your build.zig:

const linkPcre = @import("vendor/libpcre.zig/build.zig").linkPcre;
try linkPcre(exe);
exe.addPackagePath("libpcre", "vendor/libpcre.zig/src/main.zig");

Supported operating systems:

  • Linux: apt install pkg-config libpcre3-dev

  • macOS: brew install pkg-config pcre

  • Windows: install vcpkg, vcpkg integrate install, vcpkg install pcre --triplet x64-windows-static

    Zig doesn't have vcpkg integration any more. Suggestions welcome!