Merge pull request #3143 from Pariatech/cgltf-linux-build

Adding linux & darwin makefile for cgltf
This commit is contained in:
gingerBill
2024-03-13 17:47:18 +00:00
committed by GitHub
2 changed files with 24 additions and 4 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
//+build windows
package cgltf
when ODIN_OS == .Windows {
foreign import lib "lib/cgltf.lib"
}
when ODIN_OS == .Windows { foreign import lib "lib/cgltf.lib" }
else when ODIN_OS == .Linux { foreign import lib "lib/cgltf.a" }
else when ODIN_OS == .Darwin { foreign import lib "lib/darwin/cgltf.a" }
else { foreign import lib "system:cgltf" }
import "core:c"