diff options
| author | Arthur LAURENT <[email protected]> | 2022-08-07 04:10:32 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-08-07 04:10:32 +0200 |
| commit | f079c8e059ead5aeef0400ef360b6201150e1478 (patch) | |
| tree | 3635c64808f2abf8707dbf1a22e18c37a5f3ab17 /xmake/rules/c++/modules/modules_support/msvc.lua | |
| parent | 823ea42a24ad71abc284c118e1534b5d229c5a5b (diff) | |
Implement module mapper for clang
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc.lua b/xmake/rules/c++/modules/modules_support/msvc.lua index e61beb6f2..1728d59f1 100644 --- a/xmake/rules/c++/modules/modules_support/msvc.lua +++ b/xmake/rules/c++/modules/modules_support/msvc.lua @@ -261,17 +261,17 @@ end -- build module files for batchcmds function build_modules_for_batchcmds(target, batchcmds, objectfiles, modules, opt) - local cachedir = common.modules_cachedir(target) - local mapper_file = _get_module_mapper() - local compinst = target:compiler("cxx") + local mapper_file = _get_module_mapper() local toolchain = target:toolchain("msvc") local vcvars = toolchain:config("vcvars") + -- get cachedirs + local cachedir = common.modules_cachedir(target) + -- get flags local ifcoutputflag = get_ifcoutputflag(target) local interfaceflag = get_interfaceflag(target) - local referenceflag = get_referenceflag(target) -- append module mapper flags for line in io.lines(mapper_file) do |
