From f6904d729ce7ca99fad237e5e0641ee015b97faf Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 7 Jan 2025 00:01:52 +0800 Subject: add namespace info to build object --- xmake/modules/private/action/build/object.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1