diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-03 22:32:33 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-03 22:32:33 +0100 |
| commit | ce79b0d86208463a6a6fded2131baf72247526d1 (patch) | |
| tree | 00461d5db93ab9cea3cf97ca07d950c9f5c8e317 /xmake/rules/c++/modules/modules_support/builder.lua | |
| parent | fa0d8835aeae4905ce607d84cb15dd23bcaa19ce (diff) | |
fix batchcmds
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/builder.lua')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/builder.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/builder.lua b/xmake/rules/c++/modules/modules_support/builder.lua index a4bbc9c7f..93ecebe08 100644 --- a/xmake/rules/c++/modules/modules_support/builder.lua +++ b/xmake/rules/c++/modules/modules_support/builder.lua @@ -228,8 +228,8 @@ function build_modules_for_batchcmds(target, batchcmds, sourcebatch, modules, op -- build modules _build_modules(target, sourcebatch, modules, table.join(opt, { - build_module = function(_, build, module, name, provide, objectfile, cppfile, fileconfig) - depmtime = math.max(depmtime, _builder(target).make_module_buildcmds(target, batchcmds, {build = build, module = module, cppfile = cppfile, objectfile = objectfile, progress = opt.progress})) + build_module = function(_, module, name, provide, objectfile, cppfile, fileconfig) + depmtime = math.max(depmtime, _builder(target).make_module_buildcmds(target, batchcmds, _should_build, _mark_build, {module = module, cppfile = cppfile, objectfile = objectfile, progress = opt.progress})) if provide and fileconfig and fileconfig.public then local metafilepath = compiler_support.get_metafile(target, cppfile) |
