From 920ed11a433b0e292a18adb8c68829a00e8c70cc Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 26 May 2020 21:35:59 +0300 Subject: Allow process path values and targets as buildscript program names Also deduce the recipe name. --- libbuild2/target.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbuild2/target.hxx') 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 + 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;} -- cgit v1.1