aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cli/init.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cli/init.hxx')
-rw-r--r--libbuild2/cli/init.hxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/libbuild2/cli/init.hxx b/libbuild2/cli/init.hxx
new file mode 100644
index 0000000..6d23795
--- /dev/null
+++ b/libbuild2/cli/init.hxx
@@ -0,0 +1,31 @@
+// file : libbuild2/cli/init.hxx -*- C++ -*-
+// license : MIT; see accompanying LICENSE file
+
+#ifndef LIBBUILD2_CLI_INIT_HXX
+#define LIBBUILD2_CLI_INIT_HXX
+
+#include <libbuild2/types.hxx>
+#include <libbuild2/utility.hxx>
+
+#include <libbuild2/module.hxx>
+
+#include <libbuild2/cli/export.hxx>
+
+namespace build2
+{
+ namespace cli
+ {
+ // Module `cli` does not require bootstrapping.
+ //
+ // Submodules:
+ //
+ // `cli.guess` -- set variables describing the compiler.
+ // `cli.config` -- load `cli.guess` and set the rest of the variables.
+ // `cli` -- load `cli.config` and register targets and rules.
+ //
+ extern "C" LIBBUILD2_CLI_SYMEXPORT const module_functions*
+ build2_cli_load ();
+ }
+}
+
+#endif // LIBBUILD2_CLI_INIT_HXX