summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-08-06 06:24:34 +0200
committerArthur LAURENT <[email protected]>2022-08-06 06:30:16 +0200
commit57ac4f46f10e8525d4a5dec0e6c4c19f1ac35ab7 (patch)
tree62bb082a332eb3f6443ee7f4ec56b029f773b926 /xmake/rules/c++/modules/xmake.lua
parentb0379bcadce0b66fa5d3e5fc45d85a8ba365c92b (diff)
Implement module mapper file for MSVC
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 6d0da85c2..5676dcb10 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -93,10 +93,7 @@ rule("c++.build.modules.builder")
local modules = common.generate_dependencies(target, sourcebatch, opt)
-- generate headerunits
- local headerunits_flags = common.generate_headerunits_for_batchcmds(target, batchcmds, sourcebatch, modules, opt)
- if headerunits_flags then
- target:add("cxxflags", headerunits_flags, {force = true, expand = false})
- end
+ common.generate_headerunits_for_batchcmds(target, batchcmds, sourcebatch, modules, opt)
-- build modules
common.build_modules_for_batchcmds(target, batchcmds, sourcebatch, modules, opt)