diff options
| author | ruki <[email protected]> | 2019-03-09 22:04:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-09 22:04:08 +0800 |
| commit | 24de4d027e54752ef54803df5c283f480ed04f60 (patch) | |
| tree | f3e9621b24ec05f4727f7978ab0c97430810efc5 /xmake/core/project/option.lua | |
| parent | 7a68e6ad25e28c1b1c375147bb0f543ef3a47862 (diff) | |
inherit value from target deps
Diffstat (limited to 'xmake/core/project/option.lua')
| -rw-r--r-- | xmake/core/project/option.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/option.lua b/xmake/core/project/option.lua index e76fe2237..90fa2d3fa 100644 --- a/xmake/core/project/option.lua +++ b/xmake/core/project/option.lua @@ -310,6 +310,11 @@ function _instance:del(name, ...) self._INFO:apival_del(name, ...) end +-- get the extra configuration +function _instance:extraconf(name, item, key) + return self._INFO:extraconf(name, item, key) +end + -- get the given dependent option function _instance:dep(name) local deps = self:deps() |
