From patchwork Mon Apr 1 11:03:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 828 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 38BCF600F9 for ; Mon, 1 Apr 2019 13:03:32 +0200 (CEST) Received: from Q.imgcgcw.net (unknown [147.50.13.10]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 54D082F9; Mon, 1 Apr 2019 13:03:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1554116611; bh=G3fHUw1Zr3apqpHgbTVqWIe4eK1/uZmT++e/FKAwLRA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E9opK6nHaInUi7dLqq5qCL3Vf+Vo0OaRdSNpVyhw96m65+2Y9AIWPTRUjgUSVLviz 8T8hESZD62EvmBpF0kLBPhfz6hID9wbViUl3wcrjDjz5unJtP4ptR9VNBcCumMKKO0 qxnONyqnxNngrdU9LA7LrJdSO6bK6+yPOc1zA7pk= From: Kieran Bingham To: LibCamera Devel Date: Mon, 1 Apr 2019 18:03:13 +0700 Message-Id: <20190401110315.4148-3-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190401110315.4148-1-kieran.bingham@ideasonboard.com> References: <20190401110315.4148-1-kieran.bingham@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 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: Mon, 01 Apr 2019 11:03:32 -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')