summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-07 00:01:52 +0800
committerruki <[email protected]>2025-01-06 18:12:53 +0800
commitf6904d729ce7ca99fad237e5e0641ee015b97faf (patch)
tree9e9703a4eaa20122be61787c156acb2aecb038cc
parent1ce4271e8b44e6bc3cd7db44be6b52ac538e5176 (diff)
add namespace info to build object
-rw-r--r--xmake/modules/private/action/build/object.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/private/action/build/object.lua b/xmake/modules/private/action/build/object.lua
index c4c646cba..25bf3385b 100644
--- a/xmake/modules/private/action/build/object.lua
+++ b/xmake/modules/private/action/build/object.lua
@@ -76,7 +76,11 @@ function _do_build_file(target, sourcefile, opt)
-- trace progress info
if not opt.quiet then
- progress.show(opt.progress, "${color.build.object}%scompiling.$(mode) %s", prefix, sourcefile)
+ local filepath = sourcefile
+ if target:namespace() then
+ filepath = target:namespace() .. "::" .. filepath
+ end
+ progress.show(opt.progress, "${color.build.object}%scompiling.$(mode) %s", prefix, filepath)
end
-- trace verbose info