packages/s/str
This commit is contained in:
parent
db70d27460
commit
569179d3c5
17
xmake.lua
17
xmake.lua
@ -1,19 +1,8 @@
|
||||
package("test-string")
|
||||
set_kind("binary")
|
||||
set_description("The test-string package")
|
||||
package("str")
|
||||
set_description("基于 C++26/23 与模块的现代字符串库 | Modern String Library Built with C++26/23 and Modules")
|
||||
|
||||
add_urls("https://github.com/myrepo/foo.git")
|
||||
add_versions("1.0", "<shasum256 or gitcommit>")
|
||||
|
||||
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"})
|
||||
import("package.tools.xmake").install(package, {})
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user