From aec5f7309b2ee7210dc39de9c792f35273c73c10 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 24 Jan 2016 12:03:50 +0200 Subject: Differentiate extension printing according to stream verbosity --- build2/target | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'build2/target') 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. // -- cgit v1.1