summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/platform.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/platform/platform.lua')
-rw-r--r--xmake/scripts/platform/platform.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/xmake/scripts/platform/platform.lua b/xmake/scripts/platform/platform.lua
index ec21f0300..2858018c2 100644
--- a/xmake/scripts/platform/platform.lua
+++ b/xmake/scripts/platform/platform.lua
@@ -87,23 +87,6 @@ function platform.get(name)
end
end
--- get the filename from the given name and kind
-function platform.filename(name, kind)
-
- -- check
- assert(name and kind)
-
- -- get formats
- local formats = platform.get("format")
- assert(formats)
-
- -- get format
- local format = formats[kind] or {"", ""}
-
- -- make it
- return format[1] .. name .. format[2]
-end
-
-- get the linker from the given name
function platform.linker(kind)