summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/gcc.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-12-03 03:55:56 +0100
committerArthur LAURENT <[email protected]>2022-12-03 16:20:51 +0100
commitb0a3ca100afda323d50c2ab7eb1b6dd5a84dc0e9 (patch)
tree55fbff100a5a3d0ca6e7a0d0231e324876dce160 /xmake/rules/c++/modules/modules_support/gcc.lua
parent1581a5f15ef1ce7f95d34112502843563dad3177 (diff)
refactor msvc batchcmds
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/gcc.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/gcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/modules/modules_support/gcc.lua b/xmake/rules/c++/modules/modules_support/gcc.lua
index d20c7455e..6f1539891 100644
--- a/xmake/rules/c++/modules/modules_support/gcc.lua
+++ b/xmake/rules/c++/modules/modules_support/gcc.lua
@@ -457,7 +457,7 @@ function build_modules_for_batchcmds(target, batchcmds, objectfiles, modules, op
end
end
local flags = {"-x", "c++","-c", path(cppfile), "-o", path(objectfile)}
- batchcmds:show_progress(opt.progress, "${color.build.object}compiling.module.$(mode) %s", name)
+ batchcmds:show_progress(opt.progress, "${color.build.object}compiling.module.$(mode) %s", name or cppfile)
batchcmds:mkdir(path.directory(objectfile))
batchcmds:vrunv(compinst:program(), table.join(compinst:compflags({target = target}), flags))
batchcmds:add_depfiles(cppfile)