summaryrefslogtreecommitdiff
path: root/xmake/modules/lib
diff options
context:
space:
mode:
authorruki <[email protected]>2019-02-12 22:42:08 +0800
committerruki <[email protected]>2019-02-12 10:12:48 +0800
commit960c3dc469aaa27746c0a2174f235bd32ce390ff (patch)
tree04a5aec448b8624302c46cb01719f1d260694785 /xmake/modules/lib
parentd7194331ea134b0e1b54a5e09a59824b9c399d83 (diff)
improve check_xxx
Diffstat (limited to 'xmake/modules/lib')
-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 3239996be..e44043b99 100644
--- a/xmake/modules/lib/detect/check_cxsnippets.lua
+++ b/xmake/modules/lib/detect/check_cxsnippets.lua
@@ -201,23 +201,23 @@ function main(snippets, opt)
if opt.verbose or option.get("verbose") or option.get("diagnosis") then
local kind = ifelse(sourcekind == "cc", "c", "c++")
if #includes > 0 then
- cprint("${dim}checking for the %s includes(%s) ... %s", kind, table.concat(includes, ", "), ok and "${color.success}${text.success}" or "${color.nothing}${text.nothing}")
+ cprint("${dim}> checking for the %s includes(%s)", kind, table.concat(includes, ", "))
end
if #types > 0 then
- cprint("${dim}checking for the %s types(%s) ... %s", kind, table.concat(types, ", "), ok and "${color.success}${text.success}" or "${color.nothing}${text.nothing}")
+ cprint("${dim}> checking for the %s types(%s)", kind, table.concat(types, ", "))
end
if #funcs > 0 then
- cprint("${dim}checking for the %s funcs(%s) ... %s", kind, table.concat(funcs, ", "), ok and "${color.success}${text.success}" or "${color.nothing}${text.nothing}")
+ cprint("${dim}> checking for the %s funcs(%s)", kind, table.concat(funcs, ", "))
end
if #links > 0 then
- cprint("${dim}checking for the %s links(%s) ... %s", kind, table.concat(links, ", "), ok and "${color.success}${text.success}" or "${color.nothing}${text.nothing}")
+ cprint("${dim}> checking for the %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) ... %s", kind, name, ok and "${color.success}${text.success}" or "${color.nothing}${text.nothing}")
+ cprint("${dim}> checking for the %s snippet(%s)", kind, name)
end
end
if errors and #errors > 0 and option.get("diagnosis") then