glfw: remove xcode_frameworks submodule; Sdk type

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-07-06 23:45:18 -07:00
parent 0a20ba3169
commit 5aa06c2234
6 changed files with 329 additions and 249 deletions

View file

@ -54,11 +54,7 @@ Then in your `build.zig` add:
```zig
...
const glfw = @import("libs/mach-glfw/build.zig").Sdk(.{
// TODO(build-system): This cannot be imported with the Zig package manager
// error: TarUnsupportedFileType
.xcode_frameworks = @import("libs/mach-glfw/libs/xcode-frameworks/build.zig"),
});
const glfw = @import("libs/mach-glfw/build.zig");
pub fn build(b: *Build) !void {
...