summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-09 22:34:16 +0800
committerruki <[email protected]>2016-07-09 22:34:16 +0800
commitf54223a97ba93b02128df84d52d3efe7abd2a36a (patch)
treeb6d5e5d1b4d70bd1eeadf936751eb50930f3bab6 /xmake/core/project/target.lua
parent0d3075a0739eff0e28db11889a62ed3db8f4ab9f (diff)
add archiver and extractor
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua20
1 files changed, 0 insertions, 20 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index a1f75be5f..5e3669c69 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -64,26 +64,6 @@ function target:name()
return self._NAME
end
--- get the linker
-function target:linker()
-
- -- check
- assert(self)
-
- -- load the linker from the given kind
- return linker.load(self:get("kind"))
-end
-
--- get the compiler with the given source file
-function target:compiler(srcfile)
-
- -- check
- assert(self and srcfile)
-
- -- load the compiler
- return compiler.load(compiler.kind_of_file(srcfile))
-end
-
-- get the options
function target:options()