aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-08 14:05:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-08 14:11:55 +0200
commit6205a2d9eb7db0a25959ae34dc5406f228da92a5 (patch)
tree0214d042250f290a852267c3552efc54a8b76629 /build2/algorithm
parent9bd06458e869ab0b41db2d3d7b190d6183ff8547 (diff)
Implement limited rpath emulation for Windows
Diffstat (limited to 'build2/algorithm')
-rw-r--r--build2/algorithm20
1 files changed, 13 insertions, 7 deletions
diff --git a/build2/algorithm b/build2/algorithm
index d7dddba..e57b94d 100644
--- a/build2/algorithm
+++ b/build2/algorithm
@@ -222,13 +222,19 @@ namespace build2
perform_clean_depdb (action, target&);
// Helper for custom perform(clean) implementations that cleans extra files
- // specified as a list of extensions. The extension string can be NULL, in
- // which case it is ignored. Otherwise, the first character can be '+', in
- // which case the extension is added (without the plus) to the existing
- // extension (if any). In all other cases, the old extension is replaced
- // with the new one. For example:
- //
- // clean_extra (a, t, {"+.d", ".lib"});
+ // and directories (recursively) specified as a list of extensions. The
+ // extension string can be NULL, in which case it is ignored. If the first
+ // character is '/', then the resulting path is treated as a directory
+ // rather than a file. The next character can be '+', in which case the
+ // extension is added (without the plus) to the existing extension (if
+ // any). In all other cases, the old extension is replaced with the new one
+ // (so if you want to strip the extension, specify ""). For example:
+ //
+ // clean_extra (a, t, {"+.d", "/+.dlls", ".dll"});
+ //
+ // The extra files/directories are removed first in the specified order
+ // followed by the ad hoc group member, then target itself, and, finally,
+ // the prerequisites in the reverse order.
//
target_state
clean_extra (action, file&, initializer_list<const char*> extra_ext);