mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-13 15:29:45 +03:00
libcamera: base: Do not install private headers
Split the public and private headers from the base library and stop installing private headers as part of the install process. Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
fae9c8f0f2
commit
63966ae587
1 changed files with 17 additions and 9 deletions
|
@ -2,31 +2,39 @@
|
||||||
|
|
||||||
libcamera_base_include_dir = libcamera_include_dir / 'base'
|
libcamera_base_include_dir = libcamera_include_dir / 'base'
|
||||||
|
|
||||||
libcamera_base_headers = files([
|
libcamera_base_public_headers = files([
|
||||||
'backtrace.h',
|
|
||||||
'bound_method.h',
|
'bound_method.h',
|
||||||
'class.h',
|
'class.h',
|
||||||
'compiler.h',
|
'compiler.h',
|
||||||
|
'flags.h',
|
||||||
|
'object.h',
|
||||||
|
'shared_fd.h',
|
||||||
|
'signal.h',
|
||||||
|
'span.h',
|
||||||
|
'unique_fd.h',
|
||||||
|
])
|
||||||
|
|
||||||
|
libcamera_base_private_headers = files([
|
||||||
|
'backtrace.h',
|
||||||
'event_dispatcher.h',
|
'event_dispatcher.h',
|
||||||
'event_dispatcher_poll.h',
|
'event_dispatcher_poll.h',
|
||||||
'event_notifier.h',
|
'event_notifier.h',
|
||||||
'file.h',
|
'file.h',
|
||||||
'flags.h',
|
|
||||||
'log.h',
|
'log.h',
|
||||||
'message.h',
|
'message.h',
|
||||||
'mutex.h',
|
'mutex.h',
|
||||||
'object.h',
|
|
||||||
'private.h',
|
'private.h',
|
||||||
'semaphore.h',
|
'semaphore.h',
|
||||||
'shared_fd.h',
|
|
||||||
'signal.h',
|
|
||||||
'span.h',
|
|
||||||
'thread.h',
|
'thread.h',
|
||||||
'thread_annotations.h',
|
'thread_annotations.h',
|
||||||
'timer.h',
|
'timer.h',
|
||||||
'unique_fd.h',
|
|
||||||
'utils.h',
|
'utils.h',
|
||||||
])
|
])
|
||||||
|
|
||||||
install_headers(libcamera_base_headers,
|
libcamera_base_headers = [
|
||||||
|
libcamera_base_public_headers,
|
||||||
|
libcamera_base_private_headers,
|
||||||
|
]
|
||||||
|
|
||||||
|
install_headers(libcamera_base_public_headers,
|
||||||
subdir: libcamera_base_include_dir)
|
subdir: libcamera_base_include_dir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue