summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-05-02 22:40:44 +0800
committerruki <[email protected]>2018-05-02 10:04:24 +0800
commit36e4d8e69cdf7019485d5328810fe1c5720bad5d (patch)
tree9a41a6f4d5209982aff65887160e2e87d27f7bb5 /xmake/core/project/project.lua
parentd708c31c13ffdfab4eb5adf02ba906e4bf11648d (diff)
improve file rule
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index f54198132..cb1e52f65 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -355,7 +355,7 @@ function project._load_targets()
-- make targets
local targets = {}
for targetname, targetinfo in pairs(results) do
- targets[targetname] = target.new(targetname, targetinfo)
+ targets[targetname] = target.new(targetname, targetinfo, project)
end
-- load and attach target deps and rules