From 774bfb559ecaef2aac1dcb7a0414bc6895a9b9d5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 17 Jun 2016 16:42:38 +0200 Subject: Initial take on DLL support for MinGW toolchain --- build2/algorithm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build2/algorithm') diff --git a/build2/algorithm b/build2/algorithm index 19b3971..d7dddba 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -220,6 +220,18 @@ namespace build2 // target_state 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"}); + // + target_state + clean_extra (action, file&, initializer_list extra_ext); } #include -- cgit v1.1