mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-10 18:09:32 +00:00
Add raylib v6 library binaries from upstream
This commit is contained in:
10
.gitattributes
vendored
10
.gitattributes
vendored
@@ -14,3 +14,13 @@ vendor/wgpu/lib/wgpu-windows-x86_64-msvc-release/lib/wgpu_native.dll filter=lfs
|
||||
vendor/wgpu/lib/wgpu-windows-x86_64-msvc-release/lib/wgpu_native.dll.lib filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/wgpu/lib/wgpu-windows-x86_64-msvc-release/lib/wgpu_native.lib filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/wgpu/lib/wgpu-windows-x86_64-msvc-release/lib/wgpu_native.pdb filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/linux/libraylib.a filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/linux/libraylib.so.600 filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/linux-arm64/libraylib.a filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/linux-arm64/libraylib.so.600 filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/macos/libraylib.600.dylib filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/macos/libraylib.a filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/wasm/libraylib.web.a filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/windows/raylib.dll filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/windows/raylib.lib filter=lfs diff=lfs merge=lfs -text
|
||||
vendor/raylib/v6/windows/raylibdll.lib filter=lfs diff=lfs merge=lfs -text
|
||||
3
vendor/raylib/v6/linux-arm64/libraylib.so.600
vendored
Normal file
3
vendor/raylib/v6/linux-arm64/libraylib.so.600
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af10d9d92cb18ae0770b0069a5d60d7bfd1da8f8d40bbf4ee8fed1d330028659
|
||||
size 2107056
|
||||
3
vendor/raylib/v6/linux/libraylib.so.600
vendored
Normal file
3
vendor/raylib/v6/linux/libraylib.so.600
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1041653dd5c1cb8c67494fa398a296520d3ffec20cf1bf71b1eaa4b96ac61aee
|
||||
size 2100056
|
||||
3
vendor/raylib/v6/macos/libraylib.600.dylib
vendored
Normal file
3
vendor/raylib/v6/macos/libraylib.600.dylib
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e08b3372babd415f36f23a6852cb5bfce8b491c4f6c18756718142f274f5c66
|
||||
size 3606792
|
||||
30
vendor/raylib/v6/raylib.odin
vendored
30
vendor/raylib/v6/raylib.odin
vendored
@@ -97,7 +97,7 @@ MAX_MATERIAL_MAPS :: #config(RAYLIB_MAX_MATERIAL_MAPS, 12)
|
||||
#assert(size_of(rune) == size_of(c.int))
|
||||
|
||||
RAYLIB_SHARED :: #config(RAYLIB_SHARED, false)
|
||||
RAYLIB_WASM_LIB :: #config(RAYLIB_WASM_LIB, "wasm/libraylib.a")
|
||||
RAYLIB_WASM_LIB :: #config(RAYLIB_WASM_LIB, "wasm/libraylib.web.a")
|
||||
|
||||
when ODIN_OS == .Windows {
|
||||
@(extra_linker_flags="/NODEFAULTLIB:" + ("msvcrt" when RAYLIB_SHARED else "libcmt"))
|
||||
@@ -109,14 +109,26 @@ when ODIN_OS == .Windows {
|
||||
"system:Shell32.lib",
|
||||
}
|
||||
} else when ODIN_OS == .Linux {
|
||||
foreign import lib {
|
||||
// Note(bumbread): I'm not sure why in `linux/` folder there are
|
||||
// multiple copies of raylib.so, but since these bindings are for
|
||||
// particular version of the library, I better specify it. Ideally,
|
||||
// though, it's best specified in terms of major (.so.4)
|
||||
"linux/libraylib.so.600" when RAYLIB_SHARED else "linux/libraylib.a",
|
||||
"system:dl",
|
||||
"system:pthread",
|
||||
when ODIN_ARCH == .arm64 {
|
||||
foreign import lib {
|
||||
// Note(bumbread): I'm not sure why in `linux/` folder there are
|
||||
// multiple copies of raylib.so, but since these bindings are for
|
||||
// particular version of the library, I better specify it. Ideally,
|
||||
// though, it's best specified in terms of major (.so.4)
|
||||
"linux-arm64/libraylib.so.600" when RAYLIB_SHARED else "linux-arm/libraylib.a",
|
||||
"system:dl",
|
||||
"system:pthread",
|
||||
}
|
||||
} else {
|
||||
foreign import lib {
|
||||
// Note(bumbread): I'm not sure why in `linux/` folder there are
|
||||
// multiple copies of raylib.so, but since these bindings are for
|
||||
// particular version of the library, I better specify it. Ideally,
|
||||
// though, it's best specified in terms of major (.so.4)
|
||||
"linux/libraylib.so.600" when RAYLIB_SHARED else "linux/libraylib.a",
|
||||
"system:dl",
|
||||
"system:pthread",
|
||||
}
|
||||
}
|
||||
} else when ODIN_OS == .Darwin {
|
||||
foreign import lib {
|
||||
|
||||
3
vendor/raylib/v6/windows/raylib.dll
vendored
Normal file
3
vendor/raylib/v6/windows/raylib.dll
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c62606798c3f736b479db7721aed884102060541b743fd81be3e687ac6de3e67
|
||||
size 1905152
|
||||
3
vendor/raylib/v6/windows/raylib.lib
vendored
Normal file
3
vendor/raylib/v6/windows/raylib.lib
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e979fda995ea6b4ac0162156c6bc5d44c1ef6d995941f648a4f05ee19f3e00cb
|
||||
size 5297172
|
||||
3
vendor/raylib/v6/windows/raylibdll.lib
vendored
Normal file
3
vendor/raylib/v6/windows/raylibdll.lib
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7320dd3a759d49f015da28738a1ac0a7f16714046038abbefb1f1035716a54da
|
||||
size 406578
|
||||
Reference in New Issue
Block a user