From f11d720f2fb62b46ad17d3aa3850140a4839f114 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 13 Dec 2017 14:20:54 +0200 Subject: Implement info meta operation This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects. --- build2/name.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'build2/name.hxx') diff --git a/build2/name.hxx b/build2/name.hxx index 6f329ef..4394236 100644 --- a/build2/name.hxx +++ b/build2/name.hxx @@ -90,6 +90,8 @@ namespace build2 compare (const name&) const; }; + extern const name empty_name; + inline bool operator== (const name& x, const name& y) {return x.compare (y) == 0;} @@ -140,9 +142,10 @@ namespace build2 // (names) and typed ones (vector). // using names = small_vector; - using names_view = vector_view; + extern const names empty_names; + // The same semantics as to_stream(name). // ostream& -- cgit v1.1