diff options
| author | Arthur LAURENT <[email protected]> | 2022-08-05 04:41:46 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-08-05 04:41:46 +0200 |
| commit | 9051b99608fe2f339eea7ac4c9eab8b799e230df (patch) | |
| tree | 0c366c9a9592ac3c311d0564cf33dbea6f8d9542 /xmake/rules/c++/modules/modules_support/msvc.lua | |
| parent | b370625fbf37fe5e957677ec4c04ec3503d0da90 (diff) | |
Move headerunits extracting into a dedicated function
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua')
| -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 04d34f02c..2c3818995 100644 --- a/xmake/rules/c++/modules/modules_support/msvc.lua +++ b/xmake/rules/c++/modules/modules_support/msvc.lua @@ -183,7 +183,7 @@ function generate_user_headerunits(target, batchcmds, headerunits, opt) local bmifile = (outputdir and path.join(outputdir, bmifilename) or bmifilename) batchcmds:mkdir(path.directory(objectfile)) - local args = {headernameflag .. headerunit.type, headerunit.path, ifcoutputflag, outputdir, "/Fo" .. objectfile} + local args = {headernameflag .. headerunit.type, path.normalize(headerunit.path), ifcoutputflag, outputdir, "/Fo" .. objectfile} batchcmds:show_progress(opt.progress, "${color.build.object}generating.cxx.headerunit.bmi %s", headerunit.name) batchcmds:vrunv(compinst:program(), table.join(compinst:compflags({target = target}), common_args, args), {envs = vcvars}) |
