summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-04 00:40:11 +0800
committerruki <[email protected]>2023-02-04 00:40:11 +0800
commit419db506cc13289febf5143577b43be672d3db3d (patch)
tree0e3090c51e6ad8de4efbb4d5242fc9a46d497949 /xmake/rules/c++/modules/xmake.lua
parent5ab20cecd8e9b52e1f413eb730e1a469f68acd03 (diff)
add some comments
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")