diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-24 13:53:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-06-24 13:53:28 +0200 |
commit | e815af118562c68794efbd310c887acd8eae800c (patch) | |
tree | cedd8745cce259693c038c309d663a682c982e98 /build/b.cxx | |
parent | 4f52c4ed65883dacef32587cf066fbb1182c6628 (diff) |
First take on the cli module plus necessary infrastructure
Diffstat (limited to 'build/b.cxx')
-rw-r--r-- | build/b.cxx | 13 |
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. // |