From 569179d3c55997520c3ca2f281c4bea4f74fb8ea Mon Sep 17 00:00:00 2001 From: KeqingMoe Date: Fri, 21 Mar 2025 02:52:18 +0000 Subject: [PATCH] packages/s/str --- xmake.lua | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/xmake.lua b/xmake.lua index 58ca104..92a9053 100644 --- a/xmake.lua +++ b/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", "") - 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)