From 6205a2d9eb7db0a25959ae34dc5406f228da92a5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Jul 2016 14:05:28 +0200 Subject: Implement limited rpath emulation for Windows --- build2/algorithm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'build2/algorithm') 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 extra_ext); -- cgit v1.1