From patchwork Fri Mar 22 10:43:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 784 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 860F5610D5 for ; Fri, 22 Mar 2019 11:43:56 +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 0676B54A; Fri, 22 Mar 2019 11:43:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1553251435; bh=syqXwei+lrff0N6Mxm3TGoCtgaImKiLq839Z3BFJtNc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IVD2rk1LGC6PA5F/X48fL7p0nVyMrBum1ScCGGqvnHNY+rhBvAXjC/XXLlAV/vXoY +ylyPG9wNuG+P1GAyf50v6QNQO4M6jSdO5p6HAUkNpEBO3COf6TEluzjGDOawJa4PB ICCHYbjFmMsOcb7zj7kHbUgP31+we7kTFPP+MKbs= From: Kieran Bingham To: LibCamera Devel Date: Fri, 22 Mar 2019 10:43:47 +0000 Message-Id: <20190322104350.31091-2-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 1/4] meson: Re-order the optional components 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:56 -0000 Re-order the optional components to make them alphabetical, and fix up the indentation to use two spaces as required by meson. A comment is added to highlight that these optional components are enabled by default. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- meson.build | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 43d4a57602bb..e001cd267c78 100644 --- a/meson.build +++ b/meson.build @@ -29,12 +29,15 @@ subdir('include') subdir('src') subdir('utils') -if get_option('tests') - subdir('test') -endif +# The documentation and test components are optional and can be desabled +# through configuration values. They are enabled by default. if get_option('documentation') - subdir('Documentation') + subdir('Documentation') +endif + +if get_option('tests') + subdir('test') endif pkg_mod = import('pkgconfig')