aboutsummaryrefslogtreecommitdiff
path: root/build/diagnostics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-02 15:06:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-02 15:06:55 +0200
commit65dca85d0acc1ae69518e85b52a2877e38dc8c6d (patch)
tree7e2f1c227d5114d30b8c84e2d9f6af826a36066a /build/diagnostics
parent48f8883de7b8fa348423b3baf262de08c98eba18 (diff)
Implement translation of meta/operations to natural language
Diffstat (limited to 'build/diagnostics')
-rw-r--r--build/diagnostics15
1 files changed, 15 insertions, 0 deletions
diff --git a/build/diagnostics b/build/diagnostics
index 21e02e2..64a0107 100644
--- a/build/diagnostics
+++ b/build/diagnostics
@@ -36,6 +36,21 @@ namespace build
return os << diag_relative (p);
}
+ // Action phrases, e.g., "configure update exe{foo}", "updating exe{foo}",
+ // and "updating exe{foo} already configured".
+ //
+ struct action;
+ class target;
+
+ std::string
+ diag_do (const action&, const target&);
+
+ std::string
+ diag_doing (const action&, const target&);
+
+ std::string
+ diag_already_done (const action&, const target&);
+
// Print process commmand line.
//
void