summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/modules_support/builder.lua
diff options
context:
space:
mode:
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)