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
26
27
|
project('ucanet', 'c')
uca_dep = dependency('libuca', version: '>= 2.0')
gio_dep = dependency('gio-2.0', verson: '>= 2.22')
plugindir = uca_dep.get_pkgconfig_variable('plugindir')
config = configuration_data()
config.set('UCA_NET_DEFAULT_PORT', get_option('default_port'))
configure_file(
output: 'config.h',
configuration: config,
)
shared_library('ucanet',
sources: ['uca-net-camera.c'],
dependencies: [uca_dep, gio_dep],
install: true,
install_dir: plugindir,
)
executable('ucad',
sources: ['ucad.c'],
dependencies: [uca_dep, gio_dep],
install: true,
)
|