diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-01 15:18:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-06-01 15:18:08 +0200 |
commit | f36d3e02033ff2f9d14cb20a6d338c8bb09a3962 (patch) | |
tree | 94d610b8f7a344aa200f1e9165f5ec18fb7c1959 /build2/algorithm.hxx | |
parent | a8b6e14fdce2c950a42cc007e0413c1635161fce (diff) |
Implement module interface unit compilation for Clang and VC
Diffstat (limited to 'build2/algorithm.hxx')
-rw-r--r-- | build2/algorithm.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx index 36e5a92..d002e23 100644 --- a/build2/algorithm.hxx +++ b/build2/algorithm.hxx @@ -120,6 +120,14 @@ namespace build2 target_lock lock (action, const target&); + // Add an ad hoc member. If the suffix is specified, it is added (as an + // extension) to the member's target name. Return the locked member target. + // + target_lock + add_adhoc_member (action, target&, + const target_type&, + const char* suffix = nullptr); + // Match and apply a rule to the action/target with ambiguity detection. // Increment the target's dependents count, which means that you should call // this function with the intent to also call execute(). Return the target |