aboutsummaryrefslogtreecommitdiff
path: root/build/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build/b.cxx')
-rw-r--r--build/b.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/build/b.cxx b/build/b.cxx
index 8e75c14..ef39446 100644
--- a/build/b.cxx
+++ b/build/b.cxx
@@ -78,14 +78,16 @@ namespace build
#include <build/config/module>
-#include <build/bin/target>
-#include <build/bin/rule>
+#include <build/bin/target> //@@ tmp
+#include <build/bin/rule> //@@ tmp
#include <build/bin/module>
-#include <build/cxx/target>
-#include <build/cxx/rule>
+#include <build/cxx/target> //@@ tmp
+#include <build/cxx/rule> //@@ tmp
#include <build/cxx/module>
+#include <build/cli/module>
+
using namespace build;
int
@@ -95,7 +97,7 @@ main (int argc, char* argv[])
{
tracer trace ("main");
- cli::argv_scanner scan (argc, argv, true);
+ cl::argv_scanner scan (argc, argv, true);
options ops (scan);
// Version.
@@ -134,6 +136,7 @@ main (int argc, char* argv[])
modules["config"] = &config::init;
modules["bin"] = &bin::init;
modules["cxx"] = &cxx::init;
+ modules["cli"] = &cli::init;
// Register target types.
//