From patchwork Mon Apr 1 11:03:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 827 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id ADDD6600F9 for ; Mon, 1 Apr 2019 13:03:29 +0200 (CEST) Received: from Q.imgcgcw.net (unknown [147.50.13.10]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D9876542; Mon, 1 Apr 2019 13:03:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1554116609; bh=8ETF0U87KhfO2nWUkad9p0Pyw1zgWHjqIlSes2E3gt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o1PyQoKRA5loCJ5zyH4WbcbzeDsHq9JFgj3XSzZNVicf7CKmp8NZcc+6jPfjLpLg9 ulEwKS4dfyArDgtLHUWdea5AZN8uHPcnH2pR9jZmqLWFE2/GtTrRAJ4s4cYOTFKua8 Mmg3pMZM1eNOPSziixUUHXAG8452WQY2HixOQRkk= From: Kieran Bingham To: LibCamera Devel Date: Mon, 1 Apr 2019 18:03:12 +0700 Message-Id: <20190401110315.4148-2-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 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: Mon, 01 Apr 2019 11:03:29 -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. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- meson.build | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 43d4a57602bb..6e68c3e36772 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 disabled +# 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')