aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-19 11:10:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-19 11:10:27 +0200
commit3ec07c196c9ab86db09c77bff7eb11cd5a5a9b1e (patch)
tree64fa1a8ec1e0152898843bb82a775c4ba1f194e0 /build2/algorithm
parent1470c64377bfd29d434261208cd91b001b17c3f4 (diff)
Add support for building DLLs with VC
Diffstat (limited to 'build2/algorithm')
-rw-r--r--build2/algorithm10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/algorithm b/build2/algorithm
index 509e478..d52cca9 100644
--- a/build2/algorithm
+++ b/build2/algorithm
@@ -227,12 +227,12 @@ namespace build2
// 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:
+ // rather than a file. Next can come zero or more '-' characters which
+ // indicate the number of extensions that should stripped before the new
+ // extension (if any) is added (so if you want to strip the extension,
+ // specify "-"). For example:
//
- // clean_extra (a, t, {"+.d", "/+.dlls", ".dll"});
+ // 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,