summaryrefslogtreecommitdiff
path: root/xmake/modules/lib/detect/check_cxsnippets.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-18 22:36:07 +0800
committerruki <[email protected]>2020-09-18 22:36:07 +0800
commitc24f886427d8e8e28d558366946d512a7e92b428 (patch)
tree22ea7bc684331f6e8aad4d35e599f33ed52d17ff /xmake/modules/lib/detect/check_cxsnippets.lua
parent97fdf4e120b14782e0f99d3e49634fc2432e039d (diff)
improve checking tips
Diffstat (limited to 'xmake/modules/lib/detect/check_cxsnippets.lua')
-rw-r--r--xmake/modules/lib/detect/check_cxsnippets.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmake/modules/lib/detect/check_cxsnippets.lua b/xmake/modules/lib/detect/check_cxsnippets.lua
index 4a55ba32a..deab5a0e5 100644
--- a/xmake/modules/lib/detect/check_cxsnippets.lua
+++ b/xmake/modules/lib/detect/check_cxsnippets.lua
@@ -215,23 +215,23 @@ function main(snippets, opt)
if opt.verbose or option.get("verbose") or option.get("diagnosis") then
local kind = opt.sourcekind == "cc" and "c" or "c++"
if #includes > 0 then
- cprint("${dim}> checking for the %s includes(%s)", kind, table.concat(includes, ", "))
+ cprint("${dim}> checking for %s includes(%s)", kind, table.concat(includes, ", "))
end
if #types > 0 then
- cprint("${dim}> checking for the %s types(%s)", kind, table.concat(types, ", "))
+ cprint("${dim}> checking for %s types(%s)", kind, table.concat(types, ", "))
end
if #funcs > 0 then
- cprint("${dim}> checking for the %s funcs(%s)", kind, table.concat(funcs, ", "))
+ cprint("${dim}> checking for %s funcs(%s)", kind, table.concat(funcs, ", "))
end
if #links > 0 then
- cprint("${dim}> checking for the %s links(%s)", kind, table.concat(links, ", "))
+ cprint("${dim}> checking for %s links(%s)", kind, table.concat(links, ", "))
end
for idx_or_name, snippet in pairs(snippets) do
local name = idx_or_name
if type(name) == "number" then
name = snippet:sub(1, 16)
end
- cprint("${dim}> checking for the %s snippet(%s)", kind, name)
+ cprint("${dim}> checking for %s snippet(%s)", kind, name)
end
end
if errors and option.get("diagnosis") and #tostring(errors) > 0 then