From ea085bb8726bcbf6ce1fe4a1bd36b953f083e4a0 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Sat, 26 Aug 2023 17:38:19 +0200 Subject: uniformize headerunit progress printing with clang and gcc --- xmake/rules/c++/modules/modules_support/msvc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua') 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) -- cgit v1.3.1