From 8c257da85cde2df8f459f0c7610445971fffb2a8 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 8 Mar 2022 21:12:57 +0300 Subject: Add JSON format support for --structured-result option and info meta operation --- libbuild2/b-options.hxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libbuild2/b-options.hxx') diff --git a/libbuild2/b-options.hxx b/libbuild2/b-options.hxx index 3f8fed7..ffdecf5 100644 --- a/libbuild2/b-options.hxx +++ b/libbuild2/b-options.hxx @@ -15,8 +15,6 @@ #include -#include - #include namespace build2 @@ -154,9 +152,12 @@ namespace build2 const bool& no_external_modules () const; - const bool& + const structured_result_format& structured_result () const; + bool + structured_result_specified () const; + const bool& mtime_check () const; @@ -266,7 +267,8 @@ namespace build2 bool dry_run_; bool match_only_; bool no_external_modules_; - bool structured_result_; + structured_result_format structured_result_; + bool structured_result_specified_; bool mtime_check_; bool no_mtime_check_; bool no_column_; -- cgit v1.1