libcamera/utils/codegen
Laurent Pinchart 48f9660acd utils: codegen: gen-header.sh: Generate libcamera.h based on meson.build
The libcamera.h header is a top-level library header that contains every
other libcamera header. It is currently generated by listing the files
in include/libcamera/ and dropping the .in suffix from template files.
This assumes a 1:1 mapping between generated header file names and the
name of their templates.

Drop that assumption and base the libcamera.h generation on the
libcamera public headers listed in meson.build. This makes the
libcamera.h header generation more future-proof.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
2024-08-16 00:00:28 +03:00
..
ipc meson: utils: Provide environment for Python scripts 2024-08-16 00:00:23 +03:00
gen-controls.py meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
gen-formats.py meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
gen-header.sh utils: codegen: gen-header.sh: Generate libcamera.h based on meson.build 2024-08-16 00:00:28 +03:00
gen-ipa-pub-key.py meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
gen-tp-header.py meson: Move all code generation scripts to utils/codegen/ 2024-08-15 23:59:08 +03:00
meson.build meson: utils: Provide environment for Python scripts 2024-08-16 00:00:23 +03:00