From 6ed13d09ec37896b0176e90ddaa99c90ecaccd1d Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 2 Jun 2015 14:35:30 +0800 Subject: add filename to rule --- xmake/scripts/platform/platform.lua | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'xmake/scripts/platform/platform.lua') 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) -- cgit v1.3.1