aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-09-22 11:28:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-09-22 11:28:53 +0200
commitd06e8d1d3b0594c74fa444da76c3c7925ed58f70 (patch)
treea2c6d46e285b8109adc53a7ee2562cd26126a399 /libbuild2/context.hxx
parent9f72ad00a0654bc965ff527615e02fd35596073c (diff)
Add ability to skip external modules during bootstrap (--no-external-modules)
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index c4e1259..0790355 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -146,6 +146,10 @@ namespace build2
//
bool match_only;
+ // Skip booting external modules flag (see --no-external-modules).
+ //
+ bool no_external_modules;
+
// Dry run flag (see --dry-run|-n).
//
// This flag is set (based on dry_run_option) only for the final execute
@@ -479,6 +483,7 @@ namespace build2
context (scheduler&,
global_mutexes&,
bool match_only = false,
+ bool no_external_modules = false,
bool dry_run = false,
bool keep_going = true,
const strings& cmd_vars = {},