diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-15 11:03:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-01-15 11:03:06 +0200 |
commit | df50091259a34fa4718f38c0e3b7b64f6e2469ac (patch) | |
tree | 2d3172068f9ea1f4ecc6599192c42ac4172d9cfc /build/b.cxx | |
parent | c59ce78f409db8bb53042380903c8ece8b8fbd28 (diff) |
Implement rule ambiguity detection
Also establish the infrastructure for rule hinting
Diffstat (limited to 'build/b.cxx')
-rw-r--r-- | build/b.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/b.cxx b/build/b.cxx index ad68e21..5135761 100644 --- a/build/b.cxx +++ b/build/b.cxx @@ -257,13 +257,13 @@ main (int argc, char* argv[]) // Register rules. // cxx::link cxx_link; - rules.emplace (typeid (exe), cxx_link); + rules[typeid (exe)].emplace ("cxx.gnu.link", cxx_link); cxx::compile cxx_compile; - rules.emplace (typeid (obj), cxx_compile); + rules[typeid (obj)].emplace ("cxx.gnu.compile", cxx_compile); default_path_rule path_exists; - rules.emplace (typeid (path_target), path_exists); + rules[typeid (path_target)].emplace ("", path_exists); // Build. // |