Merge pull request #1447 from phillvancejr/master

Added vendor glfw support for Mac OS
This commit is contained in:
Jeroen van Rijn
2022-07-28 16:05:59 +02:00
committed by GitHub
9 changed files with 8 additions and 1 deletions

View File

@@ -13,6 +13,13 @@ when ODIN_OS == .Windows {
} else when ODIN_OS == .Linux {
// TODO: Add the billion-or-so static libs to link to in linux
foreign import glfw "system:glfw"
} else when ODIN_OS == .Darwin {
foreign import glfw {
"../lib/darwin/libglfw3.a",
"system:Cocoa.framework",
"system:IOKit.framework",
"system:OpenGL.framework",
}
} else {
foreign import glfw "system:glfw"
}

BIN
vendor/glfw/lib/darwin/libglfw3.a vendored Normal file

Binary file not shown.

View File

@@ -185,4 +185,4 @@ foreign lib {
space: colorspace, alloc_context: rawptr,
s0, t0, s1, t1: f32) -> c.int ---
}
}

BIN
vendor/stb/lib/darwin/libstb_image.a vendored Normal file

Binary file not shown.

BIN
vendor/stb/lib/darwin/stb_image.a vendored Normal file

Binary file not shown.

BIN
vendor/stb/lib/darwin/stb_image_resize.a vendored Normal file

Binary file not shown.

BIN
vendor/stb/lib/darwin/stb_image_write.a vendored Normal file

Binary file not shown.

BIN
vendor/stb/lib/darwin/stb_rect_pack.a vendored Normal file

Binary file not shown.

BIN
vendor/stb/lib/darwin/stb_truetype.a vendored Normal file

Binary file not shown.