packages/s/str

This commit is contained in:
KeqingMoe 2025-03-21 02:52:18 +00:00
parent db70d27460
commit 569179d3c5

View File

@ -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"})
on_install(function(package)
import("package.tools.xmake").install(package, {})
end)