diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-27 23:51:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-28 15:01:48 +0300 |
commit | dee4003df645803a7883fd7b97dab7ca6b1f79ae (patch) | |
tree | 1078faff56d8ffbc2b441bf2b9c59f2927fbba2d /build2/cli/init.hxx | |
parent | ac87e3827b214c0ba1bd1c17a2d8a18026637d3f (diff) |
Add build2_cli_load()
Diffstat (limited to 'build2/cli/init.hxx')
-rw-r--r-- | build2/cli/init.hxx | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/build2/cli/init.hxx b/build2/cli/init.hxx index 341dc11..4bb7d0d 100644 --- a/build2/cli/init.hxx +++ b/build2/cli/init.hxx @@ -14,23 +14,15 @@ namespace build2 { namespace cli { - bool - config_init (scope&, - scope&, - const location&, - unique_ptr<module_base>&, - bool, - bool, - const variable_map&); - - bool - init (scope&, - scope&, - const location&, - unique_ptr<module_base>&, - bool, - bool, - const variable_map&); + // Module `cli` does not require bootstrapping. + // + // Submodules: + // + // `cli.config` -- registers variables. + // `cli` -- loads cli.config and registers target types and rules. + // + extern "C" const module_functions* + build2_cli_load (); } } |