diff options
| author | ruki <[email protected]> | 2018-04-10 21:01:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-04-10 00:10:39 +0800 |
| commit | 483f101b3fe1502ce4daca8d47058dba4cd27dee (patch) | |
| tree | 80b24ac81f7b0badf744489c000defe609b09c16 /xmake/core/project/target.lua | |
| parent | c59a2f071f53f88516bb487e5bcef37d027ecc43 (diff) | |
seperate project and global rules
Diffstat (limited to 'xmake/core/project/target.lua')
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
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" |
