diff options
| author | Arthur LAURENT <[email protected]> | 2025-05-12 03:49:31 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2025-05-12 04:54:34 +0200 |
| commit | 3ba28a72239a8d23d13cd577437e871eaebc155a (patch) | |
| tree | 90dc74db7eda9955797d24bd19ad19e55997e237 /xmake/modules/private/utils/batchcmds.lua | |
| parent | 406aa7ca454fad3ef8872070cbac6efdd7d440e7 (diff) | |
(C++ modules support) normalize module progress format with regular C++
Diffstat (limited to 'xmake/modules/private/utils/batchcmds.lua')
| -rw-r--r-- | xmake/modules/private/utils/batchcmds.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/batchcmds.lua b/xmake/modules/private/utils/batchcmds.lua index bd3350954..8334475b9 100644 --- a/xmake/modules/private/utils/batchcmds.lua +++ b/xmake/modules/private/utils/batchcmds.lua @@ -308,6 +308,7 @@ function batchcmds:compilev(argv, opt) -- bind target if exists opt = opt or {} opt.target = self._TARGET + opt.verbose = (opt.verbose == nil) and true or opt.verbose -- load compiler and get compilation command local compiler_inst = opt.compiler @@ -337,7 +338,11 @@ function batchcmds:compilev(argv, opt) end -- add compilation command and bind run environments of compiler - self:vrunv(compiler_inst:program(), argv, {envs = table.join(compiler_inst:runenvs(), opt.envs)}) + if opt.verbose then + self:vrunv(compiler_inst:program(), argv, {envs = table.join(compiler_inst:runenvs(), opt.envs)}) + else + self:runv(compiler_inst:program(), argv, {envs = table.join(compiler_inst:runenvs(), opt.envs)}) + end end -- add command: linker.link |
