diff options
| author | ruki <[email protected]> | 2022-09-23 23:04:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-09-23 23:04:26 +0800 |
| commit | 31e4124be2ae66eb10ac43f0b673ee1728104a67 (patch) | |
| tree | cb68fceb2011c864529c910422dba7b03b02bead | |
| parent | 81b9a331623e03c13eecc3c86db48b9cecc81d6b (diff) | |
improve verbose info
| -rw-r--r-- | xmake/modules/package/tools/autoconf.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 4 | ||||
| -rw-r--r-- | xmake/modules/package/tools/ninja.lua | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/xmake/modules/package/tools/autoconf.lua b/xmake/modules/package/tools/autoconf.lua index b8429e9f5..c9fa019bf 100644 --- a/xmake/modules/package/tools/autoconf.lua +++ b/xmake/modules/package/tools/autoconf.lua @@ -444,7 +444,7 @@ function build(package, configs, opt) opt = opt or {} local njob = opt.jobs or option.get("jobs") or tostring(os.default_njob()) local argv = {"-j" .. njob} - if option.get("verbose") then + if option.get("diagnosis") then table.insert(argv, "V=1") end if opt.makeconfigs then @@ -471,7 +471,7 @@ function install(package, configs, opt) -- do install local argv = {"install"} - if option.get("verbose") then + if option.get("diagnosis") then table.insert(argv, "V=1") end if opt.makeconfigs then diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index a9223ce85..30f809671 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -649,7 +649,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 @@ -727,7 +727,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 d61e144b2..42dc73ed6 100644 --- a/xmake/modules/package/tools/ninja.lua +++ b/xmake/modules/package/tools/ninja.lua @@ -34,7 +34,7 @@ function build(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") |
