From 55a9ff6c72da30ad8761938d00c94355a0cb1b04 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 25 Sep 2020 13:42:17 +0200 Subject: Add bootstrap distribution mode (!config.dist.bootstrap=true) In this mode the dist meta-operation does not load the project (but does bootstrap it) and adds all the source files into the distribution only ignoring files and directories that start with a dot. This mode is primarily meant for situation where the project cannot (yet) be loaded due to missing dependencies. --- libbuild2/dist/module.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/dist/module.hxx') diff --git a/libbuild2/dist/module.hxx b/libbuild2/dist/module.hxx index 95dbc53..e445d4a 100644 --- a/libbuild2/dist/module.hxx +++ b/libbuild2/dist/module.hxx @@ -40,6 +40,9 @@ namespace build2 // Note that if registered, the callbacks are also called (recursively) // in subprojects. // + // Note also that in the bootstrap distribution mode only callbacks + // registered during bootstrap will be called. + // using callback_func = void (const path&, const scope&, void*); void -- cgit v1.1