summaryrefslogtreecommitdiff
path: root/xmake/rules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-08-19 13:56:59 +0800
committerGitHub <[email protected]>2025-08-19 13:56:59 +0800
commit7c32176972ae2e4b83f54b677cb401722ef07113 (patch)
treef704d1b2b31492a7c9a0dee5b6289b3c50bed2fa /xmake/rules
parentc31cd67e1815e37620a1b8b252240d5dbbc1ed85 (diff)
parenta115f760c346a010a6633e230dcb57b4ce0f2df0 (diff)
Merge pull request #6719 from xmake-io/comax
improve comax for config
Diffstat (limited to 'xmake/rules')
-rw-r--r--xmake/rules/c++/modules/xmake.lua5
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")