diff options
| author | ruki <[email protected]> | 2025-10-29 23:58:15 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-29 23:58:15 +0800 |
| commit | d6255d98b9a09366d238e8579b18be9add773222 (patch) | |
| tree | af66755d792b12c4525812f88f12eca54392a804 /xmake/modules/core/tools/nvcc.lua | |
| parent | a2974bf870a7ef03a5cf7c5154d65bc5a38b18fa (diff) | |
add progress.show_output
Diffstat (limited to 'xmake/modules/core/tools/nvcc.lua')
| -rw-r--r-- | xmake/modules/core/tools/nvcc.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/nvcc.lua b/xmake/modules/core/tools/nvcc.lua index aab088bf4..27f0340f5 100644 --- a/xmake/modules/core/tools/nvcc.lua +++ b/xmake/modules/core/tools/nvcc.lua @@ -450,10 +450,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt) -- print some warnings if warnings and #warnings > 0 and policy.build_warnings(opt) then - if progress.showing_without_scroll() then - print("") - end - cprint("${color.warning}%s", table.concat(table.slice(warnings:split('\n', {plain = true}), 1, 8), '\n')) + progress.show_output("${color.warning}%s", table.concat(table.slice(warnings:split('\n', {plain = true}), 1, 8), '\n')) end -- generate the dependent includes |
