diff options
| author | ruki <[email protected]> | 2016-07-09 22:34:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-09 22:34:16 +0800 |
| commit | f54223a97ba93b02128df84d52d3efe7abd2a36a (patch) | |
| tree | b6d5e5d1b4d70bd1eeadf936751eb50930f3bab6 /xmake/core/project/option.lua | |
| parent | 0d3075a0739eff0e28db11889a62ed3db8f4ab9f (diff) | |
add archiver and extractor
Diffstat (limited to 'xmake/core/project/option.lua')
| -rw-r--r-- | xmake/core/project/option.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua index 71226516f..1d554d887 100644 --- a/xmake/core/project/option.lua +++ b/xmake/core/project/option.lua @@ -52,7 +52,7 @@ function option:_check_link(sourcefile, objectfile, targetfile) end -- attempt to run this command - local ok, errors = instance:run(instance:linkcmd(objectfile, targetfile, self)) + local ok, errors = instance:link(objectfile, targetfile, self) if not ok and option_.get("verbose") then print(errors) end @@ -94,7 +94,7 @@ function option:_check_include(include, srcpath, objpath) end -- attempt to run this command - local ok, errors = instance:run(instance:compcmd(srcpath, objpath, self)) + local ok, errors = instance:compile(srcpath, objpath, self) if not ok and option_.get("verbose") then print(errors) end @@ -148,7 +148,7 @@ function option:_check_function(checkcode, srcpath, objpath) srcfile:close() -- execute the compile command - local ok, errors = instance:run(instance:compcmd(srcpath, objpath, self)) + local ok, errors = instance:compile(srcpath, objpath, self) if not ok and option_.get("verbose") then print(errors) end @@ -202,7 +202,7 @@ function option:_check_typedef(typedef, srcpath, objpath) srcfile:close() -- execute the compile command - local ok, errors = instance:run(instance:compcmd(srcpath, objpath, self)) + local ok, errors = instance:compile(srcpath, objpath, self) if not ok and option_.get("verbose") then print(errors) end |
