Skip to content

a build tool for c/c++ with seamless cross-compilation via the zig toolchain

License

Notifications You must be signed in to change notification settings

zpplibs/zpp-cli

Repository files navigation

zpp

a build tool for c/c++ with seamless cross-compilation via the zig toolchain

Quick start

Download the release binaries here

Building

Requirements

  • zig (the compiler/toolchain)

You can download zig via https://ziglang.org/download/

Alternatively, you can use zigup which downloads the binaries for you and allows you to conveniently switch versions when a new version of zig is released. https://github.com/dyu/zigup/releases

zigup 0.9.1

Once you have zig installed, run:

./bootstrap.sh

Build

./build.sh

Run

./build.sh run -- version

Usage

./zig-out/bin/zpp help

Help text:

The available commands are:
  - help
  - version
  - mod fetch
  - mod init
  - mod sum
  - mod license

zpp 0.1.0 macos aarch64

Dist (cross-compilation)

./build.sh dist

Release

./build.sh dist VERSION GITHUB_TOKEN

Clean

./build.sh clean

About

a build tool for c/c++ with seamless cross-compilation via the zig toolchain

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published