summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/builder.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-01-31 12:20:23 +0100
committerArthur LAURENT <[email protected]>2024-01-31 12:20:23 +0100
commitcc88697bbfe2925c6e290f400974da8c4c2f0e2c (patch)
treed69959479aa203da0f5229c423c36854c191db26 /xmake/rules/c++/modules/modules_support/builder.lua
parent98646d9e0f605a50cbc17a5ea73ce9a52690a35f (diff)
remove dead code
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/builder.lua')
-rw-r--r--xmake/rules/c++/modules/modules_support/builder.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/xmake/rules/c++/modules/modules_support/builder.lua b/xmake/rules/c++/modules/modules_support/builder.lua
index 099c0993e..e0885a2aa 100644
--- a/xmake/rules/c++/modules/modules_support/builder.lua
+++ b/xmake/rules/c++/modules/modules_support/builder.lua
@@ -324,22 +324,6 @@ function build_headerunits_for_batchcmds(target, batchcmds, sourcebatch, modules
end
end
--- append headerunits objectfiles to link
-function append_dependency_objectfiles(target)
-
- local cachekey = target:name() .. "dependency_objectfiles"
- local cache = compiler_support.localcache():get(cachekey)
- if cache then
- if target:is_binary() then
- target:add("ldflags", cache, {force = true, expand = false})
- elseif target:is_static() then
- target:add("arflags", cache, {force = true, expand = false})
- elseif target:is_shared() then
- target:add("shflags", cache, {force = true, expand = false})
- end
- end
-end
-
-- get or create a target module mapper
function get_target_module_mapper(target)