diff options
| author | ruki <[email protected]> | 2015-05-18 13:05:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-05-18 13:05:14 +0800 |
| commit | f1de3034b9afbb88f83501730bf27c31078818ed (patch) | |
| tree | 88a2c43f6521628df368071d44c861eb826636f4 /xmake/scripts/base/project.lua | |
| parent | 3f53e1ea0f6c9deff5295e689df141feba9cce4c (diff) | |
build makefile
Diffstat (limited to 'xmake/scripts/base/project.lua')
| -rw-r--r-- | xmake/scripts/base/project.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua index 73483ba5c..559501e00 100644 --- a/xmake/scripts/base/project.lua +++ b/xmake/scripts/base/project.lua @@ -55,7 +55,7 @@ function project.loadxproj(file) -- init filter local filter = function (v) if v == "buildir" then - local target = config.getarget() + local target = config.target() return utils.ifelse(target, target.output, nil); elseif v == "projectdir" then return xmake._PROJECT_DIR @@ -73,7 +73,7 @@ function project.loadxproj(file) local configs = {} -- get the config for the current target - local target = config.getarget() + local target = config.target() if target then for k, v in pairs(target) do if k and type(k) == "string" and not k:startswith("_") then |
