From b5d143f529e4ebbeb7a1746312e38da815e2e321 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 May 2023 13:21:55 +0200 Subject: Add --load-only option in addition to --match-only This option has the effect of loading all the subdirectory buildfiles that are not explicitly included. --- libbuild2/context.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/context.cxx') diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx index afbb59a..3c101eb 100644 --- a/libbuild2/context.cxx +++ b/libbuild2/context.cxx @@ -290,7 +290,7 @@ namespace build2 context (scheduler& s, global_mutexes& ms, file_cache& fc, - bool mo, + optional mo, bool nem, bool dr, bool ndb, @@ -716,7 +716,7 @@ namespace build2 sched (nullptr), mutexes (nullptr), fcache (nullptr), - match_only (false), + match_only (nullopt), no_external_modules (true), dry_run_option (false), no_diag_buffer (false), -- cgit v1.1