From 14c7d434df62989fbceef8322f61400844bd5943 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Jan 2020 14:23:18 +0200 Subject: See through lib{} group during dist --- libbuild2/scope.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbuild2/scope.hxx') diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx index 655a1a0..ca21a17 100644 --- a/libbuild2/scope.hxx +++ b/libbuild2/scope.hxx @@ -396,6 +396,12 @@ namespace build2 root_extra->meta_operations.insert (id, in); } + bool + find_module (const string& name) const + { + return root_extra->modules.find_module (name) != nullptr; + } + template T* find_module (const string& name) const -- cgit v1.1