aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin/init.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-24 16:37:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-28 15:01:48 +0300
commitea24f530048cbce0c5335ca3fd3632c8ce34315a (patch)
tree3f7153cad1c3e34da5e992fe53db104512d7af71 /libbuild2/bin/init.hxx
parentd07521c67db21aa02dddf9615dce9f9f3dfe784c (diff)
Move bin build system module to separate library
Diffstat (limited to 'libbuild2/bin/init.hxx')
-rw-r--r--libbuild2/bin/init.hxx40
1 files changed, 40 insertions, 0 deletions
diff --git a/libbuild2/bin/init.hxx b/libbuild2/bin/init.hxx
new file mode 100644
index 0000000..41580df
--- /dev/null
+++ b/libbuild2/bin/init.hxx
@@ -0,0 +1,40 @@
+// file : libbuild2/bin/init.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef LIBBUILD2_BIN_INIT_HXX
+#define LIBBUILD2_BIN_INIT_HXX
+
+#include <libbuild2/types.hxx>
+#include <libbuild2/utility.hxx>
+
+#include <libbuild2/module.hxx>
+
+#include <libbuild2/bin/export.hxx>
+
+namespace build2
+{
+ namespace bin
+ {
+ // Module `bin` does not require bootstrapping.
+ //
+ // Submodules:
+ //
+ // `bin.vars` -- registers some variables.
+ // `bin.config` -- loads bin.vars and sets some variables.
+ // `bin.ar.config` -- loads bin.config and registers/sets more variables.
+ // `bin.ar` -- loads bin and bin.ar.config.
+ // `bin.ld.config` -- loads bin.config and registers/sets more variables.
+ // `bin.ld` -- loads bin and bin.ld.config and registers more
+ // target types for msvc.
+ // `bin.rc.config` -- loads bin.config and registers/sets more variables.
+ // `bin.rc` -- loads bin and bin.rc.config.
+ // `bin` -- loads bin.config and registers target types and
+ // rules.
+ //
+ extern "C" LIBBUILD2_BIN_SYMEXPORT const module_functions*
+ build2_bin_load ();
+ }
+}
+
+#endif // LIBBUILD2_BIN_INIT_HXX