diff options
| author | ruki <[email protected]> | 2023-02-03 00:49:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-03 00:49:42 +0800 |
| commit | 743399e488b2371511235bde557daeeedcd653ce (patch) | |
| tree | 97d14620fb66df30749be37a5f1f2b00d455efdd /xmake/core/project/target.lua | |
| parent | c68a29c3dede70aad99f6a36f16391f1ae0ce31b (diff) | |
improve sourceinfo
Diffstat (limited to 'xmake/core/project/target.lua')
| -rw-r--r-- | xmake/core/project/target.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index e991d288c..04227ab4b 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -488,6 +488,11 @@ function _instance:extraconf_set(name, item, key, value) self._INFO:extraconf_set(name, item, key, value) end +-- get configuration source information of the given api item +function _instance:sourceinfo(name, item) + return self._INFO:sourceinfo(name, item) +end + -- get user private data function _instance:data(name) return self._DATA and self._DATA[name] |
