aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index c98c29e..aa2f003 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -253,7 +253,9 @@ namespace build2
virtual recipe
apply (action, target&) const override;
- adhoc_cxx_rule (const location&, size_t, uint64_t version);
+ adhoc_cxx_rule (const location&, size_t,
+ uint64_t ver,
+ optional<string> sep);
virtual bool
recipe_text (context&, const target&, string&& t, attributes&) override;
@@ -269,6 +271,7 @@ namespace build2
// targets which could all be matched in parallel.
//
uint64_t version;
+ optional<string> separator;
string code;
mutable atomic<cxx_rule*> impl;
};