aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index eb958c8..667ef79 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1711,6 +1711,12 @@ namespace build2
void
process_path (process_path_type);
+ // Lookup metadata variable (see {import,export}.metadata).
+ //
+ template <typename T>
+ const T*
+ lookup_metadata (const char* var) const;
+
public:
static const target_type static_type;
virtual const target_type& dynamic_type () const {return static_type;}