summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-08 22:46:33 +0800
committerruki <[email protected]>2022-08-08 22:46:33 +0800
commit4abd6737364ffec07d9813c63d89e0ae90240315 (patch)
tree24755129c46ce8b946f2948f767911beac3cd6dc /xmake/rules/c++/modules/xmake.lua
parentaaa5b2c37ec355cf2746f2d854517b3f43afcaf5 (diff)
add comments
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 3efa123e6..1d117e78b 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -53,6 +53,7 @@ rule("c++.build.modules.builder")
set_sourcekinds("cxx")
set_extensions(".mpp", ".mxx", ".cppm", ".ixx")
+ -- parallel build support to accelerate `xmake build` to build headerunits
before_build(function(target, batchjobs, opt)
local job
if target:data("cxx.has_modules") then