From 1d5a072c5e9efd04fd081e6215fa800690058575 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 6 May 2023 13:22:15 +0300 Subject: Documentation: Add predefined macros from config.h to Doxyfile libcamera creates a config.h file with predefined macros, and instructs the compiler to include it implicitly with the -include argument. Doxygen has no support for implicit inclusion of headers, but has a PREDEFINED configuration option for its preprocessor that lists predefined macros. Populate it with the values from the config_h configuration data object that is used for generate the config.h file, to ensure that documentation matches the configuration options libcamera has been built with. Bump the minimum meson version to 0.57 to use cfg_data.keys(). Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 9c1e7081..62db8ed8 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: CC0-1.0 project('libcamera', 'c', 'cpp', - meson_version : '>= 0.56', + meson_version : '>= 0.57', version : '0.0.5', default_options : [ 'werror=true', -- cgit v1.2.1