diff options
| author | Arthur Laurent <[email protected]> | 2024-02-02 18:30:05 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-02 18:30:05 +0100 |
| commit | 05deea2df8d17cfae17694b7e5cc78213c068ea4 (patch) | |
| tree | 8b86aab514f3b36826068efcf7de3571dcd4bd71 /xmake/rules/c++/modules/xmake.lua | |
| parent | aedc8fa8b17560952782e8409fb41937fa781486 (diff) | |
| parent | 48be7cd276d22c5cc16058fe328741c7ebd471d1 (diff) | |
Merge branch 'modules' into optimise-dag
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua index 13f248880..ecb79f65b 100644 --- a/xmake/rules/c++/modules/xmake.lua +++ b/xmake/rules/c++/modules/xmake.lua @@ -88,11 +88,11 @@ rule("c++.build.modules.builder") end end + opt.batchjobs = true + compiler_support.patch_sourcebatch(target, sourcebatch, opt) local modules = dependency_scanner.get_module_dependencies(target, sourcebatch, opt) - opt.batchjobs = true - -- build modules builder.build_modules_for_batchjobs(target, batchjobs, sourcebatch, modules, opt) @@ -135,11 +135,11 @@ rule("c++.build.modules.builder") end end + opt.batchjobs = false + compiler_support.patch_sourcebatch(target, sourcebatch, opt) local modules = dependency_scanner.get_module_dependencies(target, sourcebatch, opt) - opt.batchjobs = false - -- build headerunits builder.build_headerunits_for_batchcmds(target, batchcmds, sourcebatch, modules, opt) |
