summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-14 11:27:01 +0800
committerruki <[email protected]>2023-01-14 11:27:01 +0800
commit59b982c3a89d4d0ce2ecfede7362e905f9da3eb6 (patch)
tree9ca202a807f30c3d0af4b069a0e338d23beba26e /xmake/rules
parent74f739212453135284fcc3fe2a9b0363356e3086 (diff)
improve progress
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/verilator/xmake.lua3
1 files changed, 2 insertions, 1 deletions
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