From 59b982c3a89d4d0ce2ecfede7362e905f9da3eb6 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 14 Jan 2023 11:27:01 +0800 Subject: improve progress --- xmake/rules/verilator/xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmake/rules/verilator/xmake.lua b/xmake/rules/verilator/xmake.lua index 0029dc0b7..eef59d458 100644 --- a/xmake/rules/verilator/xmake.lua +++ b/xmake/rules/verilator/xmake.lua @@ -130,7 +130,7 @@ endmodule]]) end local sourcefiles = sourcebatch.sourcefiles for _, sourcefile in ipairs(sourcefiles) do - batchcmds:show_progress(opt.progress, "${color.build.target}compiling.verilator %s", path.filename(sourcefile)) + batchcmds:show_progress(opt.progress, "${color.build.object}compiling.verilator %s", path.filename(sourcefile)) end table.join2(argv, sourcefiles) @@ -172,6 +172,7 @@ endmodule]]) -- do build for _, sourcefile in ipairs(sourcefiles) do local objectfile = target:objectfile(sourcefile) + batchcmds:show_progress(opt.progress, "${color.build.object}compiling.$(mode) %s", path.filename(sourcefile)) batchcmds:compile(sourcefile, objectfile) table.insert(target:objectfiles(), objectfile) end -- cgit v1.3.1