aboutsummaryrefslogtreecommitdiff
path: root/build/cxx/module.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-29 14:57:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-29 14:57:40 +0200
commit40537e7e0941926168226f8a841544f3536a55cb (patch)
tree6ad5937118098489eb3869d29d62588508631687 /build/cxx/module.cxx
parent6dbf3bbd2efa963859156826a25fc639c6c52ce5 (diff)
Get rid of on-demand configuration for now
Diffstat (limited to 'build/cxx/module.cxx')
-rw-r--r--build/cxx/module.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/cxx/module.cxx b/build/cxx/module.cxx
index 45f8271..b26a7fa 100644
--- a/build/cxx/module.cxx
+++ b/build/cxx/module.cxx
@@ -12,6 +12,8 @@
#include <build/process>
#include <build/diagnostics>
+#include <build/bin/module>
+
#include <build/config/utility>
using namespace std;
@@ -33,6 +35,10 @@ namespace build
if (&root != &base)
fail (l) << "cxx module must be initialized in project root scope";
+ // Initialize the bin module.
+ //
+ bin::init (root, base, l);
+
//@@ TODO: need to register target types, rules here instead of main().
const dir_path& out_root (root.path ());