diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-08 21:12:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-03-11 12:57:10 +0300 |
commit | 8c257da85cde2df8f459f0c7610445971fffb2a8 (patch) | |
tree | 5ff670a42257ac6e1374da3ec0055a9ea348d871 /libbuild2/b-options.hxx | |
parent | a061301ab789d00027f29f389627792dccbe1748 (diff) |
Add JSON format support for --structured-result option and info meta operation
Diffstat (limited to 'libbuild2/b-options.hxx')
-rw-r--r-- | libbuild2/b-options.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
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 <set> -#include <libbuild2/types.hxx> - #include <libbuild2/common-options.hxx> 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_; |