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.ixx | |
parent | a061301ab789d00027f29f389627792dccbe1748 (diff) |
Add JSON format support for --structured-result option and info meta operation
Diffstat (limited to 'libbuild2/b-options.ixx')
-rw-r--r-- | libbuild2/b-options.ixx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libbuild2/b-options.ixx b/libbuild2/b-options.ixx index 0875dbd..8030ef3 100644 --- a/libbuild2/b-options.ixx +++ b/libbuild2/b-options.ixx @@ -176,12 +176,18 @@ namespace build2 return this->no_external_modules_; } - inline const bool& options:: + inline const structured_result_format& options:: structured_result () const { return this->structured_result_; } + inline bool options:: + structured_result_specified () const + { + return this->structured_result_specified_; + } + inline const bool& options:: mtime_check () const { |