Skip to content

An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.

License

0BSD, CC-BY-SA-4.0 licenses found

Licenses found

0BSD
LICENSE-0BSD
CC-BY-SA-4.0
LICENSE-CC-BY-SA-4.0
Notifications You must be signed in to change notification settings

vezel-dev/zig-sdk

Folders and files

NameName
Last commit message
Last commit date
Dec 28, 2023
Mar 20, 2025
Jan 12, 2024
Mar 5, 2025
Mar 5, 2025
May 1, 2024
Jul 1, 2024
May 1, 2024
Dec 28, 2023
Nov 13, 2024
Sep 20, 2024
Nov 13, 2024
May 17, 2024
Apr 16, 2024
Apr 17, 2024
Nov 15, 2023
Apr 17, 2024
Feb 12, 2025
May 29, 2022
May 29, 2022
Jan 30, 2024
Jun 17, 2024
Dec 28, 2023
Apr 22, 2024
Apr 22, 2024
Dec 28, 2023
Nov 13, 2024
Mar 19, 2025
Dec 28, 2023
Jan 12, 2024
Mar 5, 2025
Apr 7, 2022
Nov 16, 2023
Jan 28, 2024
Mar 27, 2022
Apr 17, 2022

Zig SDK

Zig SDK

An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.

License Commits Build Discussions Discord Zulip


The Zig SDK is an MSBuild SDK that augments the .NET SDK with the ability to build Zig, C, and C++ projects.

With support for multiple programming languages, cross-compilation, NuGet packaging, and more, the Zig SDK makes it trivial to author native components as part of your .NET solution - without all the hassle that is usually part and parcel of building and packaging native code. These features are powered by the Zig toolchain.

Usage

This project offers the following packages:

Package Description Downloads
Vezel.Zig.Sdk Provides the MSBuild SDK and associated tasks. Downloads

To install an SDK package in a project, add it to your global.json under the msbuild-sdks property.

For more information, please visit the project home page.

Building

You will need the .NET SDK installed. Simply run ./cake (a Bash script) to build artifacts. You can also use ./cake pack if you do not want to build the documentation (which requires Node.js).

License

This project is licensed under the terms found in LICENSE-0BSD.

The Zig logo is licensed under the terms found in LICENSE-CC-BY-SA-4.0.