summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-08 22:45:38 +0800
committerruki <[email protected]>2022-08-08 22:45:38 +0800
commite96c32a19877939a4e325bb3afccef873b47ce35 (patch)
treec0b23b4ff893b0345b38a17e826816eda974b424 /xmake/rules/c++/modules/xmake.lua
parent1fb045a19472a8d04d24cb41c49a3bf75b2767d2 (diff)
fix batchjobs for gcc/headerunits
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..c888a83fb 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -52,6 +52,7 @@ rule("c++.build.modules")
rule("c++.build.modules.builder")
set_sourcekinds("cxx")
set_extensions(".mpp", ".mxx", ".cppm", ".ixx")
+ add_deps("c++.build.modules.dependencies")
before_build(function(target, batchjobs, opt)
local job