diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-24 12:03:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-24 12:03:50 +0200 |
commit | aec5f7309b2ee7210dc39de9c792f35273c73c10 (patch) | |
tree | 039064cbccb9ef01a5b93ca1659ae05137e61d3f /build2/target | |
parent | 4b507ea962169a8d19e4b37b940448eba97d87a4 (diff) |
Differentiate extension printing according to stream verbosity
Diffstat (limited to 'build2/target')
-rw-r--r-- | build2/target | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/build2/target b/build2/target index c6cc46e..e6ebc42 100644 --- a/build2/target +++ b/build2/target @@ -1078,6 +1078,21 @@ namespace build2 const std::string& target_extension_assert (const target_key&, scope&); + // Target print functions. + // + + // Target type uses the extension but it is fixed and there is no use + // printing it (e.g., man1{}). + // + void + target_print_0_ext_verb (ostream&, const target_key&); + + // Target type uses the extension and there is normally no default so it + // should be printed (e.g., file{}). + // + void + target_print_1_ext_verb (ostream&, const target_key&); + // The default behavior, that is, look for an existing target in the // prerequisite's directory scope. // |