aboutsummaryrefslogtreecommitdiff
path: root/build2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-08-07 18:27:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-08-07 18:27:55 +0200
commitdf4efffedae5117debbb5ba0f1479f1a53960a0d (patch)
tree6cfd4dd92ebd4d3928aea7ad875e057e8a67d663 /build2/target.hxx
parente4f41c7319261b9585bd501256664679457e1d9d (diff)
Diffstat (limited to 'build2/target.hxx')
-rw-r--r--build2/target.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/target.hxx b/build2/target.hxx
index 127940a..8014d42 100644
--- a/build2/target.hxx
+++ b/build2/target.hxx
@@ -656,8 +656,11 @@ namespace build2
// Combine the target name and extension into the name leaf.
//
+ // If the target type has the default extension, then "escape" the
+ // existing extension if any.
+ //
static void
- combine_name (string&, const optional<string>&);
+ combine_name (string&, const optional<string>&, bool default_extension);
public:
virtual