summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-03-18 20:05:25 +0800
committerruki <[email protected]>2016-03-18 20:05:25 +0800
commit7a67767e0df44d9ef02daab981f7e300c627b95d (patch)
tree0b85d57e2658a84d36910270f0023249d38cf6bf /xmake/core/project/project.lua
parent7ff5704f835df20b79db4f672204df9a562058aa (diff)
add target
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index 0f7898594..c6aa99f42 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -32,7 +32,7 @@ local table = require("base/table")
local option = require("base/option")
local filter = require("base/filter")
local interpreter = require("base/interpreter")
-local rule = require("project/rule")
+local target = require("project/target")
local config = require("project/config")
local deprecated_project = require("project/deprecated/project")
local linker = require("platform/linker")
@@ -686,10 +686,10 @@ function project._make_options(options)
local cxxfile = os.tmpdir() .. "/__checking.cpp"
-- the object file path
- local objectfile = os.tmpdir() .. "/" .. rule.filename("__checking", "object")
+ local objectfile = os.tmpdir() .. "/" .. target.filename("__checking", "object")
-- the target file path
- local targetfile = os.tmpdir() .. "/" .. rule.filename("__checking", "binary")
+ local targetfile = os.tmpdir() .. "/" .. target.filename("__checking", "binary")
-- make all options
for k, v in pairs(options) do