aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/operation.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-12-12 13:21:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-12-12 13:21:36 +0200
commitaeae50fe987b1787d1c1ae6f5c0bfb4f179205ef (patch)
treeeee92e23aa81b057688b5cea7fae6487b0470244 /libbuild2/operation.hxx
parent272437d0680dc39607140fc041bac9d3cdfbd626 (diff)
Add no_subprojects parameter to info meta-operation
Diffstat (limited to 'libbuild2/operation.hxx')
-rw-r--r--libbuild2/operation.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/operation.hxx b/libbuild2/operation.hxx
index 2ff82ad..fd5eea0 100644
--- a/libbuild2/operation.hxx
+++ b/libbuild2/operation.hxx
@@ -182,6 +182,11 @@ namespace build2
LIBBUILD2_SYMEXPORT extern const meta_operation_info mo_perform;
LIBBUILD2_SYMEXPORT extern const meta_operation_info mo_info;
+ // Return true if params does not contain no_subprojects.
+ //
+ bool
+ info_subprojects (const values& params);
+
// Operation info.
//
// NOTE: keep POD-like to ensure can be constant-initialized in order to