diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-23 16:12:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-23 16:12:58 +0200 |
commit | e5fedf8a485d7b1b7d26e08557ca40c863d3255b (patch) | |
tree | 04c7a0c014132fcf7d4cbd89fa1003db295ba82d | |
parent | 0bd954eabb236bc9530220ffbc076967d35e33f4 (diff) |
Rename "select" to "apply"
-rw-r--r-- | build/algorithm.cxx | 4 | ||||
-rw-r--r-- | build/cxx/rule | 4 | ||||
-rw-r--r-- | build/cxx/rule.cxx | 6 | ||||
-rw-r--r-- | build/rule | 6 | ||||
-rw-r--r-- | build/rule.cxx | 4 |
5 files changed, 12 insertions, 12 deletions
diff --git a/build/algorithm.cxx b/build/algorithm.cxx index 5026782..ddf0071 100644 --- a/build/algorithm.cxx +++ b/build/algorithm.cxx @@ -116,11 +116,11 @@ namespace build make_exception_guard ( [](target& t, const string& n) { - info << "while selecting rule " << n << " for target " << t; + info << "while applying rule " << n << " for target " << t; }, t, n)); - t.recipe (ru.select (t, m)); + t.recipe (ru.apply (t, m)); break; } else diff --git a/build/cxx/rule b/build/cxx/rule index cf9ee51..80a917e 100644 --- a/build/cxx/rule +++ b/build/cxx/rule @@ -26,7 +26,7 @@ namespace build match (target&, const std::string& hint) const; virtual recipe - select (target&, void*) const; + apply (target&, void*) const; static target_state update (target&); @@ -43,7 +43,7 @@ namespace build match (target&, const std::string& hint) const; virtual recipe - select (target&, void*) const; + apply (target&, void*) const; static target_state update (target&); diff --git a/build/cxx/rule.cxx b/build/cxx/rule.cxx index b355542..94433b9 100644 --- a/build/cxx/rule.cxx +++ b/build/cxx/rule.cxx @@ -57,7 +57,7 @@ namespace build } recipe compile:: - select (target& t, void* v) const + apply (target& t, void* v) const { // Derive object file name from target name. // @@ -371,9 +371,9 @@ namespace build } recipe link:: - select (target& t, void*) const + apply (target& t, void*) const { - tracer trace ("cxx::link::select"); + tracer trace ("cxx::link::apply"); // Derive executable file name from target name. // @@ -22,7 +22,7 @@ namespace build match (target&, const std::string& hint) const = 0; virtual recipe - select (target&, void*) const = 0; + apply (target&, void*) const = 0; }; typedef std::unordered_map< @@ -40,7 +40,7 @@ namespace build match (target&, const std::string& hint) const; virtual recipe - select (target&, void*) const; + apply (target&, void*) const; static target_state update (target&); @@ -53,7 +53,7 @@ namespace build match (target&, const std::string& hint) const; virtual recipe - select (target&, void*) const; + apply (target&, void*) const; static target_state update (target&); diff --git a/build/rule.cxx b/build/rule.cxx index 2373033..dcb6df1 100644 --- a/build/rule.cxx +++ b/build/rule.cxx @@ -52,7 +52,7 @@ namespace build } recipe path_rule:: - select (target& t, void*) const + apply (target& t, void*) const { // Search and match all the prerequisites. // @@ -107,7 +107,7 @@ namespace build } recipe dir_rule:: - select (target& t, void*) const + apply (target& t, void*) const { search_and_match (t); return &update; |