Skip to content

Commit 2292b16

Browse files
committed
log output verbose -> diagnosis
1 parent 9482950 commit 2292b16

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

xmake/modules/package/tools/cmake.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ function _build_for_make(package, configs, opt)
10081008
end
10091009
local jobs = _get_parallel_njobs(opt)
10101010
table.insert(argv, "-j" .. jobs)
1011-
if option.get("verbose") then
1011+
if option.get("diagnosis") then
10121012
table.insert(argv, "VERBOSE=1")
10131013
end
10141014
if is_host("bsd") then
@@ -1093,7 +1093,7 @@ end
10931093
function _install_for_make(package, configs, opt)
10941094
local jobs = _get_parallel_njobs(opt)
10951095
local argv = {"-j" .. jobs}
1096-
if option.get("verbose") then
1096+
if option.get("diagnosis") then
10971097
table.insert(argv, "VERBOSE=1")
10981098
end
10991099
if is_host("bsd") then

xmake/modules/package/tools/ninja.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function _default_argv(package, configs, opt)
3434
end
3535
table.insert(argv, "-C")
3636
table.insert(argv, buildir)
37-
if option.get("verbose") then
37+
if option.get("diagnosis") then
3838
table.insert(argv, "-v")
3939
end
4040
table.insert(argv, "-j")

0 commit comments

Comments
 (0)