summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
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]