apps: Share common source between applications
Multiple source files in the src/apps/cam/ directory are used by cam, qcam and lc-compliance. They are compiled separately for each application. Move them to a new src/apps/common/ directory and compile them in a static library to decrease the number of compilation operations. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
11f5c3ad05
commit
a8113fb3a8
30 changed files with 61 additions and 47 deletions
|
@ -13,9 +13,11 @@
|
|||
#include <libcamera/control_ids.h>
|
||||
#include <libcamera/property_ids.h>
|
||||
|
||||
#include "../common/event_loop.h"
|
||||
#include "../common/stream_options.h"
|
||||
|
||||
#include "camera_session.h"
|
||||
#include "capture_script.h"
|
||||
#include "event_loop.h"
|
||||
#include "file_sink.h"
|
||||
#ifdef HAVE_KMS
|
||||
#include "kms_sink.h"
|
||||
|
@ -24,7 +26,6 @@
|
|||
#ifdef HAVE_SDL
|
||||
#include "sdl_sink.h"
|
||||
#endif
|
||||
#include "stream_options.h"
|
||||
|
||||
using namespace libcamera;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue