diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-14 11:16:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-14 11:16:53 +0200 |
commit | 14485a1ebe8daccf80498efbb0b88a6ab2021fa2 (patch) | |
tree | 369a448df6ebc24011b5027d4160ac1a10d67b23 /libbuild2/file.hxx | |
parent | 4c1b2f072bcc41c00990331245e479a55b0990ff (diff) |
Add ability to override amalgamation and subprojects in bootstrap_src()
Diffstat (limited to 'libbuild2/file.hxx')
-rw-r--r-- | libbuild2/file.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libbuild2/file.hxx b/libbuild2/file.hxx index b47d8dc..5a25475 100644 --- a/libbuild2/file.hxx +++ b/libbuild2/file.hxx @@ -182,8 +182,15 @@ namespace build2 // Bootstrap the project's root scope, the src part. // + // If amalgamation is present, then use the specified directory as the + // amalgamation instead of discovering or extracting it from bootstrap.build + // (use empty directory to disable amalgamation). If subprojects is false, + // then do not discover or extract subprojects. + // LIBBUILD2_SYMEXPORT void - bootstrap_src (scope& root, optional<bool>& altn); + bootstrap_src (scope& root, optional<bool>& altn, + optional<dir_path> amalgamation = nullopt, + bool subprojects = true); // Return true if this scope has already been bootstrapped, that is, the // following calls have already been made: |