From patchwork Fri Mar 22 10:43:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 785 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 54F65610D5 for ; Fri, 22 Mar 2019 11:43:59 +0100 (CET) Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4E74054E; Fri, 22 Mar 2019 11:43:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1553251435; bh=7H2hwWmelduoz6VprnTIbf1eY7/ZtdZz+Mgi6SWNnnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eozT3ZDbg2GYVC135vrv3lDWp4yQcWHLpPyBy5TXcjJ3SE3oR6f1aFZd+2Wv5M83T CllMmxk3OMvPj41tSbn/eqrJnSMvpKhTDI2pvKtcoAzIPz1xLNk5vryP+VeFSonurV iL9LfY50dK2cfp+3cOs5nNo200fiDs1FoaroI210= From: Kieran Bingham To: LibCamera Devel Date: Fri, 22 Mar 2019 10:43:48 +0000 Message-Id: <20190322104350.31091-3-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190322104350.31091-1-kieran.bingham@ideasonboard.com> References: <20190322104350.31091-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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: Fri, 22 Mar 2019 10:43:59 -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 Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- 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')