zoost库添加。
This commit is contained in:
18
packages/z/zoost/xmake.lua
Normal file
18
packages/z/zoost/xmake.lua
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
package("zoost")
|
||||||
|
set_description("The zoost package")
|
||||||
|
|
||||||
|
add_urls("https://www.sinxmiao.cn/taynpg/zoost.git")
|
||||||
|
add_versions("0.1", "2ea77764211294da6feeeafea0255f13619555e0")
|
||||||
|
|
||||||
|
on_install(function (package)
|
||||||
|
local configs = {}
|
||||||
|
if package:config("shared") then
|
||||||
|
configs.kind = "shared"
|
||||||
|
end
|
||||||
|
import("package.tools.xmake").install(package, configs)
|
||||||
|
end)
|
||||||
|
|
||||||
|
on_test(function (package)
|
||||||
|
-- TODO check includes and interfaces
|
||||||
|
-- assert(package:has_cfuncs("foo", {includes = "foo.h"})
|
||||||
|
end)
|
||||||
Reference in New Issue
Block a user