diff options
| author | ruki <[email protected]> | 2025-08-18 22:55:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-08-19 11:06:19 +0800 |
| commit | 6776bc187295330c3eb0337d065ddd64c5c9638c (patch) | |
| tree | 3e1176fe96b715e72e92b7f146be0336950fcf9a /xmake/rules/c++/modules/xmake.lua | |
| parent | eabc8b83d51b9de9ca76667fc547a92b678fc1a5 (diff) | |
fix mode and module config order
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
| -rw-r--r-- | xmake/rules/c++/modules/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua index ff4bcfc5a..c81e1500e 100644 --- a/xmake/rules/c++/modules/xmake.lua +++ b/xmake/rules/c++/modules/xmake.lua @@ -23,6 +23,11 @@ rule("c++.build.modules") -- @note support.contains_modules() need it set_extensions(".cppm", ".ccm", ".cxxm", ".c++m", ".mpp", ".mxx", ".ixx") + -- clang/support/config will be depend on target/symbols in release modules (hidden) + -- @see The default config parallel execution will cause incremental compilation problems + add_orders("mode.release", "c++.build.modules") + add_orders("mode.minsizerel", "c++.build.modules") + add_deps("c++.build.modules.scanner", "c++.build.modules.builder", "c++.build.modules.install") |
