mirror of
https://github.com/tribufu/tribufu-rust
synced 2026-05-18 01:25:48 +00:00
Generate native bindings from rust crate
This commit is contained in:
parent
738f9c947b
commit
6ab490ce07
37 changed files with 1112 additions and 23 deletions
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue