Skip to content

Commit

Permalink
add namespace info to build object
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 6, 2025
1 parent 1ce4271 commit f6904d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xmake/modules/private/action/build/object.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6904d7

Please sign in to comment.