From 6e1a194678114d65813b429a8f685b0ae1efcf82 Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Mon, 29 Aug 2022 14:14:28 +0200 Subject: Fix msvc headerunits batchcmds --- xmake/rules/c++/modules/modules_support/msvc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 7c17de0b7..8048b7041 100644 --- a/xmake/rules/c++/modules/modules_support/msvc.lua +++ b/xmake/rules/c++/modules/modules_support/msvc.lua @@ -345,7 +345,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, objectifle, batchcmds, opt) + generate_headerunit_for_batchcmds(target, headerunit.unique and path.filename(headerunit.name) or headerunit.name, flags, objectfile, batchcmds, opt) batchcmds:add_depfiles(headerunit.path) _add_module_to_mapper(target, headerunitflag .. headerunit.type, headerunit.name, headerunit.type == ":quote" and headerunit.path or headerunit.name, objectfile, bmifile) -- cgit v1.3.1