diff options
| author | ruki <[email protected]> | 2022-08-29 20:40:15 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-29 20:40:15 +0800 |
| commit | 14a67f93fece405f519cf57a3a43cd41f4a77faa (patch) | |
| tree | 35538b398630b6186010c6391525b9cb15eea6a2 | |
| parent | 70fa2aa7e0fe6fd3aad44fabc8162f013a8cfa70 (diff) | |
| parent | 6e1a194678114d65813b429a8f685b0ae1efcf82 (diff) | |
Merge pull request #2735 from Arthapz/dev
Fix msvc headerunits batchcmds
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
