aboutsummaryrefslogtreecommitdiff
path: root/build2/target-type
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-24 12:03:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-24 12:03:50 +0200
commitaec5f7309b2ee7210dc39de9c792f35273c73c10 (patch)
tree039064cbccb9ef01a5b93ca1659ae05137e61d3f /build2/target-type
parent4b507ea962169a8d19e4b37b940448eba97d87a4 (diff)
Differentiate extension printing according to stream verbosity
Diffstat (limited to 'build2/target-type')
-rw-r--r--build2/target-type2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/target-type b/build2/target-type
index 60a0e35..a831670 100644
--- a/build2/target-type
+++ b/build2/target-type
@@ -10,6 +10,7 @@
#include <ostream>
#include <build2/types>
+#include <build2/utility>
namespace build2
{
@@ -36,6 +37,7 @@ namespace build2
const target_type* base;
target* (*factory) (const target_type&, dir_path, string, const string*);
const string& (*extension) (const target_key&, scope&);
+ void (*print) (ostream&, const target_key&);
target* (*search) (const prerequisite_key&);
bool see_through; // A group with the default "see through" semantics.