From patchwork Wed Apr 3 04:10:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 883 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CAD4D610B3 for ; Wed, 3 Apr 2019 06:11:12 +0200 (CEST) Received: from Q.imgcgcw.net (unknown [147.50.13.10]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 08F5A2F9; Wed, 3 Apr 2019 06:11:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1554264672; bh=G3fHUw1Zr3apqpHgbTVqWIe4eK1/uZmT++e/FKAwLRA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MF8k0vZwyPmuKCM+nXA2VL5mn79/QsCJezOf/BwDJdI0SNjo5Bn3nKTh0nOmkJ+ID MkRLdqvEAdeR2DEOvkRTeKLmUJzlt0a6UrCGZ4apKGNEA+dMvxVF0q8iToIeORdNEp WHNy+/mnPO22mM1CJAaJr2O/R20CadDyPS9CHsRw= From: Kieran Bingham To: LibCamera Devel Date: Wed, 3 Apr 2019 11:10:56 +0700 Message-Id: <20190403041058.20921-3-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190403041058.20921-1-kieran.bingham@ideasonboard.com> References: <20190403041058.20921-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 2/4] meson: options: Document the options X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2019 04:11:13 -0000 Re-order the project options and add documentation which will be presented by 'meson configure'. This produces the following extra information: Project options: Option Current Value Possible Values Description ------ ------------- --------------- ----------- documentation true [true, false] Generate the project documentation tests true [true, false] Compile and include the tests Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- meson_options.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index c5df661a2286..97efc85b4412 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,2 +1,7 @@ -option('tests', type : 'boolean') -option('documentation', type : 'boolean') +option('documentation', + type : 'boolean', + description : 'Generate the project documentation') + +option('tests', + type : 'boolean', + description: 'Compile and include the tests')