summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-02-07 16:56:02 +0100
committerArthur LAURENT <[email protected]>2024-02-07 18:04:29 +0100
commit6e3d6c4cf7166e093ba77fac1d221ff6daef1792 (patch)
tree1f6f4164c145d0ab90641af56aa1d4350ac46f70 /xmake/rules/c++/modules/xmake.lua
parent6f520cf8320ddb4424560b9094fb74844dd8e40b (diff)
update vs project generator to support moduleonly target kind
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 13fb405d8..922841cd1 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -101,6 +101,7 @@ rule("c++.build.modules.builder")
end
end
+ opt = opt or {}
opt.batchjobs = true
compiler_support.patch_sourcebatch(target, sourcebatch, opt)
@@ -163,6 +164,7 @@ rule("c++.build.modules.builder")
end
end
+ opt = opt or {}
opt.batchjobs = false
compiler_support.patch_sourcebatch(target, sourcebatch, opt)