summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/scanner.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-10 00:52:32 +0800
committerruki <[email protected]>2026-03-10 00:52:32 +0800
commitdbd3e1a81718585105ed342ecc128df149590f70 (patch)
treeea03f47a403a0e51d60539017b311bd7adacc5fb /xmake/rules/c++/modules/scanner.lua
parent1ec51411988ae0ca5adcaeeb383a107d305f9907 (diff)
show target name in progress
Diffstat (limited to 'xmake/rules/c++/modules/scanner.lua')
-rw-r--r--xmake/rules/c++/modules/scanner.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/scanner.lua b/xmake/rules/c++/modules/scanner.lua
index 8d5fd057d..2bcee1f12 100644
--- a/xmake/rules/c++/modules/scanner.lua
+++ b/xmake/rules/c++/modules/scanner.lua
@@ -27,6 +27,7 @@ import("core.base.profiler")
import("core.base.bytes")
import("async.jobgraph")
import("async.runjobs")
+import("utils.progress")
import("support")
import("mapper")
import("stlheaders")
@@ -538,6 +539,7 @@ function _schedule_module_dependencies_scan(target, jobgraph, sourcebatch)
if not jobgraph:has(scanfilejob) then
has_scanjob = true
jobgraph:add(scanfilejob, function(_, _, opt)
+ progress.set_target(opt.progress, target)
_do_scan(target, sourcefile, opt)
end)
end