summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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