Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vezel-dev/zig-sdk
An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.
https://github.com/vezel-dev/zig-sdk
build c cpp dotnet msbuild zig
Last synced: 2 days ago
JSON representation
An MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler.
- Host: GitHub
- URL: https://github.com/vezel-dev/zig-sdk
- Owner: vezel-dev
- License: 0bsd
- Created: 2021-06-13T05:19:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T14:13:34.000Z (2 months ago)
- Last Synced: 2024-10-29T17:22:31.903Z (2 months ago)
- Topics: build, c, cpp, dotnet, msbuild, zig
- Language: C#
- Homepage: https://docs.vezel.dev/zig-sdk
- Size: 610 KB
- Stars: 64
- Watchers: 5
- Forks: 2
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE-0BSD
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-zig - vezel-dev/zig-sdk
- awesome-zig - zig-sdkποΈAn MSBuild SDK for building Zig, C, and C++ projects using the Zig compiler
README
# Zig SDK
An MSBuild SDK for building Zig, C, and C++ projects using the Zig
compiler.
[![License](https://img.shields.io/badge/license-0BSD-brown)](LICENSE-0BSD)
[![Commits](https://img.shields.io/github/commit-activity/m/vezel-dev/zig-sdk/master?label=commits&color=slateblue)](https://github.com/vezel-dev/zig-sdk/commits/master)
[![Build](https://img.shields.io/github/actions/workflow/status/vezel-dev/zig-sdk/build.yml?branch=master)](https://github.com/vezel-dev/zig-sdk/actions/workflows/build.yml)
[![Discussions](https://img.shields.io/github/discussions/vezel-dev/zig-sdk?color=teal)](https://github.com/vezel-dev/zig-sdk/discussions)
[![Discord](https://img.shields.io/badge/discord-chat-7289da?logo=discord)](https://discord.gg/wtzCfaX2Nj)
[![Zulip](https://img.shields.io/badge/zulip-chat-394069?logo=zulip)](https://vezel.zulipchat.com)--------------------------------------------------------------------------------
The **Zig SDK** is an
[MSBuild SDK](https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-use-project-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](https://ziglang.org) toolchain.## Usage
This project offers the following packages:
| Package | Description | Downloads |
| -: | - | :- |
| [![Vezel.Zig.Sdk][sdk-img]][sdk-pkg] | Provides the MSBuild SDK and associated tasks. | ![Downloads][sdk-dls] |[sdk-pkg]: https://www.nuget.org/packages/Vezel.Zig.Sdk
[sdk-img]: https://img.shields.io/nuget/v/Vezel.Zig.Sdk?label=Vezel.Zig.Sdk
[sdk-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Sdk?label=
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](https://docs.vezel.dev/zig-sdk).## Building
You will need the .NET SDK installed. Simply run `./cake`
(a [Bash](https://www.gnu.org/software/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`](LICENSE-0BSD).The Zig logo is licensed under the terms found in
[`LICENSE-CC-BY-SA-4.0`](LICENSE-CC-BY-SA-4.0).