mirror of
https://github.com/tribufu/sdk-rust
synced 2025-06-16 03:04:19 +00:00
Generate native bindings from rust crate
This commit is contained in:
31
premake5.lua
Normal file
31
premake5.lua
Normal file
@ -0,0 +1,31 @@
|
||||
--- @diagnostic disable: undefined-global
|
||||
|
||||
workspace "tribufu"
|
||||
location "."
|
||||
configurations { "debug", "release" }
|
||||
|
||||
if _ACTION == "vs2022" then
|
||||
platforms {
|
||||
"win-arm64",
|
||||
"win-x64",
|
||||
"win-x86",
|
||||
}
|
||||
end
|
||||
|
||||
if _ACTION == "gmake2" then
|
||||
platforms {
|
||||
"linux-arm64",
|
||||
"linux-x64",
|
||||
"linux-x86",
|
||||
}
|
||||
end
|
||||
|
||||
if _ACTION == "xcode4" then
|
||||
platforms {
|
||||
"osx-arm64",
|
||||
"osx-x64",
|
||||
}
|
||||
end
|
||||
|
||||
include "examples/c"
|
||||
include "examples/cpp"
|
Reference in New Issue
Block a user