From f1de3034b9afbb88f83501730bf27c31078818ed Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 18 May 2015 13:05:14 +0800 Subject: build makefile --- xmake/scripts/base/project.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/scripts/base/project.lua') 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 -- cgit v1.3.1