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.ixx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libbuild2/b-options.ixx') 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 { -- cgit v1.1