summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-07-23 22:00:27 +0200
committerArthur LAURENT <[email protected]>2024-07-23 23:24:56 +0200
commitd84b42ace51b952a7433c2d966b5a3cc763717dc (patch)
tree998a34315b52aef7860abf4606840c08d86dcbcc /xmake/rules/c++/modules/xmake.lua
parentab6ee69bce2bd78596f4713ec4300301e025a56f (diff)
remove unnecessary code
culling is already done by dependency scanner
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 38d1bba4d..67a4a1497 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -114,9 +114,6 @@ rule("c++.build.modules.builder")
-- build headerunits and we need to do it before building modules
builder.build_headerunits_for_batchjobs(target, batchjobs, sourcebatch, modules, opt)
-
- -- cull external modules objectfile
- compiler_support.cull_objectfiles(target, modules, sourcebatch)
else
sourcebatch.objectfiles = {}
end
@@ -175,9 +172,6 @@ rule("c++.build.modules.builder")
-- build modules
builder.build_modules_for_batchcmds(target, batchcmds, sourcebatch, modules, opt)
-
- -- cull external modules objectfile
- compiler_support.cull_objectfiles(target, modules, sourcebatch)
else
-- avoid duplicate linking of object files of non-module programs
sourcebatch.objectfiles = {}