From patchwork Wed Apr 3 04:10:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 882 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 60EC9610B3 for ; Wed, 3 Apr 2019 06:11:10 +0200 (CEST) Received: from Q.imgcgcw.net (unknown [147.50.13.10]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 7DA422F9; Wed, 3 Apr 2019 06:11:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1554264670; bh=8ETF0U87KhfO2nWUkad9p0Pyw1zgWHjqIlSes2E3gt8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W907S25yL4+wxXzKblVoWoNK/a4cp0ZpkeUVk+D/kXNajI0UPXb6B8RXQ3IBm+dSL nX1NMzLF9k0qBwiMscNieD/dEbovVn5vZfjlkNmSku2jyKGF9jARRlWfATtrNtDMcG QA8Tdmu6fLnZsROjyD+8gbLpPxONRDKMYhXxmqys= From: Kieran Bingham To: LibCamera Devel Date: Wed, 3 Apr 2019 11:10:55 +0700 Message-Id: <20190403041058.20921-2-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 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: Wed, 03 Apr 2019 04:11:10 -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')