summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-01-31 15:22:33 +0100
committerArthur LAURENT <[email protected]>2024-01-31 15:22:33 +0100
commitadee61789222cf9cd1e09accbe56f630c609f4d1 (patch)
tree08f52c372622880cf88fe57a1c53a410c8605c76
parent47afe0c0dd79a81af208fbd5a4e32e5248bf9b1b (diff)
fix progress for clang
-rw-r--r--xmake/rules/c++/modules/modules_support/clang/builder.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/clang/builder.lua b/xmake/rules/c++/modules/modules_support/clang/builder.lua
index b090d9af6..0bc467730 100644
--- a/xmake/rules/c++/modules/modules_support/clang/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/clang/builder.lua
@@ -229,7 +229,7 @@ function make_module_build_job(target, batchjobs, job_name, deps, opt)
-- compile if it's a named module
if opt.build and (provide or compiler_support.has_module_extension(opt.cppfile)) then
- progress.show((index * 100) / total, "${color.build.target}<%s> ${clear}${clear}${color.build.object}compiling.module.$(mode) %s", target:name(), name or opt.cppfile)
+ progress.show((index * 100) / total, "${color.build.target}<%s> ${clear}${color.build.object}compiling.module.$(mode) %s", target:name(), name or opt.cppfile)
if not dryrun then
local objectdir = path.directory(opt.objectfile)
@@ -269,7 +269,7 @@ function make_module_build_cmds(target, batchcmds, opt)
-- compile if it's a named module
if opt.build and (provide or compiler_support.has_module_extension(opt.cppfile)) then
- batchcmds:show_progress(opt.progress, "${color.build.target}<%s> ${clear}compiling.module.$(mode) %s", target:name(), name or opt.cppfile)
+ batchcmds:show_progress(opt.progress, "${color.build.target}<%s> ${clear}${color.build.object}compiling.module.$(mode) %s", target:name(), name or opt.cppfile)
batchcmds:mkdir(path.directory(opt.objectfile))
local fileconfig = target:fileconfig(opt.cppfile)