summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index b62ec0f36..2f9b207bf 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -20,7 +20,10 @@
-- define rule: c++.build.modules
rule("c++.build.modules")
+
+ -- @note common.contains_modules() need it
set_extensions(".mpp", ".mxx", ".cppm", ".ixx")
+
add_deps("c++.build.modules.builder")
add_deps("c++.build.modules.install")