summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-10 21:01:46 +0800
committerruki <[email protected]>2018-04-10 00:10:39 +0800
commit483f101b3fe1502ce4daca8d47058dba4cd27dee (patch)
tree80b24ac81f7b0badf744489c000defe609b09c16 /xmake/core/project/target.lua
parentc59a2f071f53f88516bb487e5bcef37d027ecc43 (diff)
seperate project and global rules
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index b9570ce37..0dc8892c1 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -31,6 +31,7 @@ local path = require("base/path")
local utils = require("base/utils")
local table = require("base/table")
local deprecated = require("base/deprecated")
+local rule = require("project/rule")
local option = require("project/option")
local config = require("project/config")
local tool = require("tool/tool")
@@ -51,6 +52,7 @@ function target.apis()
-- target.set_xxx
"target.set_kind"
, "target.set_strip"
+ , "target.set_rules"
, "target.set_default"
, "target.set_options"
, "target.set_symbols"