summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-03 00:49:42 +0800
committerruki <[email protected]>2023-02-03 00:49:42 +0800
commit743399e488b2371511235bde557daeeedcd653ce (patch)
tree97d14620fb66df30749be37a5f1f2b00d455efdd /xmake/core/project/target.lua
parentc68a29c3dede70aad99f6a36f16391f1ae0ce31b (diff)
improve sourceinfo
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua5
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]