We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently setting up the build system is a chore. Adding nectar as a package looks like this:
pub fn build(b: *std.build.Builder) void { const mode = b.standardReleaseOptions(); const nectar = std.build.Pkg{ .name = "nectar", .path = .{ .path = "libs/nectar/src/main.zig" }, .dependencies = &.{ .{ .name = "nectar:core", .path = .{ .path = "libs/nectar/core/src/main.zig" } }, .{ .name = "nectar:midi", .path = .{ .path = "libs/nectar/midi/src/main.zig" } }, .{ .name = "nectar:vst2", .path = .{ .path = "libs/nectar/vst2/src/main.zig" } }, }, }; // snip }
And as we add more packages, it will only get more complex. It would be nice to simplify this package import to something like
const nectarBuild = @import("libs/nectar/build.zig"); pub fn build(b: *std.build.Builder) void { const nectar = nectarBuild.generatePackage("libs/nectar/"); }
The text was updated successfully, but these errors were encountered:
ajkachnic
No branches or pull requests
Currently setting up the build system is a chore. Adding nectar as a package looks like this:
And as we add more packages, it will only get more complex. It would be nice to simplify this package import to something like
The text was updated successfully, but these errors were encountered: