From df50091259a34fa4718f38c0e3b7b64f6e2469ac Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Jan 2015 11:03:06 +0200 Subject: Implement rule ambiguity detection Also establish the infrastructure for rule hinting --- build/cxx/rule | 4 ++-- build/cxx/rule.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'build/cxx') diff --git a/build/cxx/rule b/build/cxx/rule index 99e688d..8924c7c 100644 --- a/build/cxx/rule +++ b/build/cxx/rule @@ -23,7 +23,7 @@ namespace build { public: virtual recipe - match (target&) const; + match (target&, bool single, std::string& hint) const; static target_state update (target&); @@ -37,7 +37,7 @@ namespace build { public: virtual recipe - match (target&) const; + match (target&, bool single, std::string& hint) const; static target_state update (target&); diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx index c6ceb1a..3a97576 100644 --- a/build/cxx/rule.cxx +++ b/build/cxx/rule.cxx @@ -28,7 +28,7 @@ namespace build // compile // recipe compile:: - match (target& t) const + match (target& t, bool single, std::string& hint) const { tracer tr ("cxx::compile::match"); @@ -375,7 +375,7 @@ namespace build // link // recipe link:: - match (target& t) const + match (target& t, bool single, std::string& hint) const { // @@ TODO: // -- cgit v1.1