aboutsummaryrefslogtreecommitdiff
path: root/build/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-01-15 11:03:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-01-15 11:03:06 +0200
commitdf50091259a34fa4718f38c0e3b7b64f6e2469ac (patch)
tree2d3172068f9ea1f4ecc6599192c42ac4172d9cfc /build/cxx
parentc59ce78f409db8bb53042380903c8ece8b8fbd28 (diff)
Implement rule ambiguity detection
Also establish the infrastructure for rule hinting
Diffstat (limited to 'build/cxx')
-rw-r--r--build/cxx/rule4
-rw-r--r--build/cxx/rule.cxx4
2 files changed, 4 insertions, 4 deletions
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:
//