[libcamera-devel] [PATCH v2 4/5] meson: ipa: Pass core.mojom to the docs generator

Paul Elder paul.elder at ideasonboard.com
Tue May 25 11:52:17 CEST 2021


We don't want to generate the same functional files for core.mojom as
the other mojom files, but we do want to generate the documentation cpp
files. Add core.mojom to the mojom files list after the main generation
is complete, so that the documentation generator can pick it up.

Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 include/libcamera/ipa/meson.build | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/libcamera/ipa/meson.build b/include/libcamera/ipa/meson.build
index 729483ab..81fb69f0 100644
--- a/include/libcamera/ipa/meson.build
+++ b/include/libcamera/ipa/meson.build
@@ -145,3 +145,6 @@ foreach file : ipa_mojom_files
 endforeach
 
 ipa_mojom_files = files(ipa_mojom_files)
+
+# Pass this to the documentation generator in src/libcamera/ipa
+ipa_mojom_files += files(['core.mojom'])
-- 
2.27.0



More information about the libcamera-devel mailing list