diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-13 07:14:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-05-27 08:35:29 +0200 |
commit | 741cce26c1caeacc0e578a8bef1efefa993adcc1 (patch) | |
tree | be3dcd6db8c1fea92ada21a6fa8f88fd53047aec /libbuild2/config | |
parent | 9a0f07035b34a356ce9b5601d71d388595762184 (diff) |
Initial support for ad hoc C++ recipes
Diffstat (limited to 'libbuild2/config')
-rw-r--r-- | libbuild2/config/operation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/config/operation.cxx b/libbuild2/config/operation.cxx index 17eb99a..41d982b 100644 --- a/libbuild2/config/operation.cxx +++ b/libbuild2/config/operation.cxx @@ -1103,8 +1103,7 @@ namespace build2 // this information is stored). So what we are going to do is bootstrap // the newly created project, similar to the way main() does it. // - scope& gs (ctx.global_scope.rw ()); - scope& rs (load_project (gs, d, d, false /* fwd */, false /* load */)); + scope& rs (load_project (ctx, d, d, false /* fwd */, false /* load */)); // Add the default config.config.persist value unless there is a custom // one (specified as a command line override). @@ -1223,6 +1222,7 @@ namespace build2 rmod, "", /* root_post */ string ("config"), /* config_module */ + nullopt, /* config_file */ true, /* buildfile */ "the create meta-operation"); |