summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2023-08-26 17:38:19 +0200
committerArthur LAURENT <[email protected]>2023-08-26 17:38:19 +0200
commitea085bb8726bcbf6ce1fe4a1bd36b953f083e4a0 (patch)
tree4457fbfc6e0bc4a6ddb0efe8b6a2e9ea43a065d7 /xmake/rules/c++/modules/modules_support
parent5c47da325e092ce573a123ab6d994e11c5b1345b (diff)
uniformize headerunit progress printing with clang and gcc
Diffstat (limited to 'xmake/rules/c++/modules/modules_support')
-rw-r--r--xmake/rules/c++/modules/modules_support/msvc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua
index 160cd43e9..0372ca997 100644
--- a/xmake/rules/c++/modules/modules_support/msvc.lua
+++ b/xmake/rules/c++/modules/modules_support/msvc.lua
@@ -350,7 +350,7 @@ function generate_user_headerunits_for_batchjobs(target, batchjobs, headerunits,
outputdir,
"/Fo" .. objectfile
}
- generate_headerunit_for_batchjob(target, headerunit.unique and path.filename(headerunit.name) or headerunit.name, flags, objectfile, index, total)
+ generate_headerunit_for_batchjob(target, headerunit.name, flags, objectfile, index, total)
end, {dependfile = target:dependfile(bmifile), files = {headerunit.path}})
_add_module_to_mapper(target, headerunitflag, headerunit.name, headerunit.path, objectfile, bmifile)
end, {rootjob = flushjob})
@@ -385,7 +385,7 @@ function generate_user_headerunits_for_batchcmds(target, batchcmds, headerunits,
outputdir,
"/Fo" .. objectfile
}
- generate_headerunit_for_batchcmds(target, headerunit.unique and path.filename(headerunit.name) or headerunit.name, flags, objectfile, batchcmds, opt)
+ generate_headerunit_for_batchcmds(target, headerunit.name, flags, objectfile, batchcmds, opt)
batchcmds:add_depfiles(headerunit.path)
_add_module_to_mapper(target, headerunitflag, headerunit.name, headerunit.path, objectfile, bmifile)