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

Paul Elder paul.elder at ideasonboard.com
Mon May 24 10:40:28 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>
---
 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 c7fa5cd7..fc791b2f 100644
--- a/include/libcamera/ipa/meson.build
+++ b/include/libcamera/ipa/meson.build
@@ -143,3 +143,6 @@ foreach file : ipa_mojom_files
 
     libcamera_generated_ipa_headers += [header, serializer, proxy_header]
 endforeach
+
+# 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