summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstar9029 <[email protected]>2024-08-29 20:58:24 +0800
committerstar9029 <[email protected]>2024-08-29 20:58:24 +0800
commit2292b165497b0f2c560899c2436a52b779ee043b (patch)
tree4dc0b45613202f1948874432934e31eb89d21345
parent94829508d57ac49bcd0cecc3a6de6f5afcdf921c (diff)
log output verbose -> diagnosis
-rw-r--r--xmake/modules/package/tools/cmake.lua4
-rw-r--r--xmake/modules/package/tools/ninja.lua2
2 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index c9cfc8c2a..27268613d 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -1008,7 +1008,7 @@ function _build_for_make(package, configs, opt)
end
local jobs = _get_parallel_njobs(opt)
table.insert(argv, "-j" .. jobs)
- if option.get("verbose") then
+ if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
end
if is_host("bsd") then
@@ -1093,7 +1093,7 @@ end
function _install_for_make(package, configs, opt)
local jobs = _get_parallel_njobs(opt)
local argv = {"-j" .. jobs}
- if option.get("verbose") then
+ if option.get("diagnosis") then
table.insert(argv, "VERBOSE=1")
end
if is_host("bsd") then
diff --git a/xmake/modules/package/tools/ninja.lua b/xmake/modules/package/tools/ninja.lua
index f900a8d1f..df5ba21da 100644
--- a/xmake/modules/package/tools/ninja.lua
+++ b/xmake/modules/package/tools/ninja.lua
@@ -34,7 +34,7 @@ function _default_argv(package, configs, opt)
end
table.insert(argv, "-C")
table.insert(argv, buildir)
- if option.get("verbose") then
+ if option.get("diagnosis") then
table.insert(argv, "-v")
end
table.insert(argv, "-j")