summaryrefslogtreecommitdiff
path: root/meson.build
blob: 042048be48ab536b5f87bc591114fac768427a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
project('elce-cam', 'c', 'cpp',
	default_options : [
		'werror=true',
		'warning_level=2',
		'cpp_std=c++11',
	])

cc = meson.get_compiler('c')
config_h = configuration_data()

# elce-cam source files
src_files = files([
	'main.cpp',
])

# Point your PKG_CONFIG_PATH environment variable to the
# libcamera install path camera.pc file ($prefix/lib/pkgconfig/camera.pc)
libcamera_deps = [
      dependency('camera', required : true),
]

# elce-cam executable
elce_cam = executable('elce-cam', src_files,
		      dependencies : libcamera_deps,
		      install : false)