diff options
| author | ruki <[email protected]> | 2015-06-02 14:35:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-02 14:35:30 +0800 |
| commit | 6ed13d09ec37896b0176e90ddaa99c90ecaccd1d (patch) | |
| tree | 5738abd0b031d60a531aecd53783e55493f761f8 /xmake/scripts/platform | |
| parent | 22b67ea8ae2ce6cc7ae67fb5f7aa66df950eaec5 (diff) | |
add filename to rule
Diffstat (limited to 'xmake/scripts/platform')
| -rw-r--r-- | xmake/scripts/platform/platform.lua | 17 |
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) |
