aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/file.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-06-17 10:04:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-06-17 10:04:28 +0200
commit2f29c7fbe758ffb53e4de9983df8b1cc927dad05 (patch)
tree682cb0b312b97c4fd037a04adb406086de6fd161 /libbuild2/file.hxx
parent0478cfe438ca728690fb93bafe43fbe8e2b006b4 (diff)
Add ability to ignore subprojects in create_bootstrap_outer()
Diffstat (limited to 'libbuild2/file.hxx')
-rw-r--r--libbuild2/file.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbuild2/file.hxx b/libbuild2/file.hxx
index 0582a8c..091de7a 100644
--- a/libbuild2/file.hxx
+++ b/libbuild2/file.hxx
@@ -213,10 +213,11 @@ namespace build2
bootstrap_post (scope& root);
// Create and bootstrap outer root scopes, if any. Loading is done by
- // load_root().
+ // load_root(). If subprojects is false, then do not discover or extract
+ // subprojects.
//
LIBBUILD2_SYMEXPORT void
- create_bootstrap_outer (scope& root);
+ create_bootstrap_outer (scope& root, bool subprojects = true);
// Create and bootstrap inner root scopes, if any, recursively.
//