diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-15 09:32:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-15 09:32:04 +0200 |
commit | 70ec3eba9ef98e018e0491b559874c41734193c7 (patch) | |
tree | 5cee631331bf3df74b0ab6986738ddd49f296558 /build2/target | |
parent | fd641f3f10499d4368822b0776ded4c47f152ae7 (diff) |
Make .pdb ad hoc group member, install
Diffstat (limited to 'build2/target')
-rw-r--r-- | build2/target | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/build2/target b/build2/target index 3207778..955c2f9 100644 --- a/build2/target +++ b/build2/target @@ -1025,11 +1025,23 @@ namespace build2 // Finally, if the path was already assigned to this target, then this // function verifies that the two are the same. // - void + const path_type& derive_path (const char* default_ext = nullptr, const char* name_prefix = nullptr, const char* name_suffix = nullptr); + // This version can be used to derive the path from another target's path + // by adding another extension. + // + const path_type& + derive_path (path_type base, const char* default_ext = nullptr); + + // As above but only derives (and returns) the extension (empty means no + // extension used). + // + const string& + derive_extension (const char* default_ext = nullptr); + public: static const target_type static_type; |