-
-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zig package #400
Zig package #400
Conversation
How would a zig developer use this to build a zig compatible library? |
Hi, @jmcnamara Using that build the developers could choose to create a binding on top of the original library or access the library directly. In other words, do you remember the binding built by me? zig-xlsxwriter Well, with this change, not only could that project benefit from the library addition be downloaded, build and run with the included binding (another project) or also, users can bypass my binding and use the library directly with more info: |
Pointer 2Using zig toolchain does not exactly mean that need to create a ziglang project, could replace the makefile, cmake, or any other conventional tool with zig. |
In general I'd prefer not to add this type of configuration to the root directory. I made an exception for iOS and now there are too many Coacoa and other related files as well as several PRs. I prefer the VPG and Homebrew approaches where the package updates are in an external repository, like this: https://vcpkg.roundtrip.dev/ports/libxlsxwriter However, I like Zig as a language and would like to support it so if you agree to support the library additions and make any fixes that are required in the future then I will merge it. |
OK! |
Ok. Merged. Thanks! |
closes #401
How to use
build.zig
&build.zig.zon
filee.g:
More info about zig-pkg