summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarnabás Pőcze <barnabas.pocze@ideasonboard.com>2025-05-26 14:03:55 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2025-06-01 23:11:54 +0100
commita8bc540653af3f1444e1e1053aa1bfafc9314229 (patch)
tree42f99647e195567a833f0a91b4ef51bc5d4a68b1
parent59ac34b728c573317fd37ad10e6d1c9df486c5e4 (diff)
Documentation: Fix `INCLUDE_PATH` doxygen configuration option
libcamera header files should be included using the `libcamera/...` prefix. However, `INCLUDE_PATH` is currently set to `@TOP_SRCDIR@/include/libcamera` meaning that doxygen, when encountering `libcamera/x.h`, will try to open `@TOP_SRCDIR@/include/libcamera/libcamera/x.h`, which is not the correct path. Fix that by using `@TOP_{BUILD,SRC}DIR@/include`. This removes the extra `libcamera` component from the path and adds the corresponding directory from the build directory as well since that is an implicit include directory added by meson. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--Documentation/Doxyfile-common.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/Doxyfile-common.in b/Documentation/Doxyfile-common.in
index 045c19dd..58afea1c 100644
--- a/Documentation/Doxyfile-common.in
+++ b/Documentation/Doxyfile-common.in
@@ -57,7 +57,8 @@ GENERATE_LATEX = NO
MACRO_EXPANSION = YES
EXPAND_ONLY_PREDEF = YES
-INCLUDE_PATH = "@TOP_SRCDIR@/include/libcamera"
+INCLUDE_PATH = "@TOP_BUILDDIR@/include" \
+ "@TOP_SRCDIR@/include"
INCLUDE_FILE_PATTERNS = *.h
IMAGE_PATH = "@TOP_SRCDIR@/Documentation/images"