blob: 046ae4725685365cb32a72fc1a42dfc178a9e64a [file] [log] [blame]
John Wedig2098dab2021-09-14 13:56:28 -07001
2libeStoraged_deps = [
3 dependency('sdbusplus'),
4 eStoraged_dbus,
5]
6
7libeStoraged_lib = static_library(
8 'eStoraged-lib',
9 'estoraged.cpp',
10 include_directories : eStoraged_headers,
11 implicit_include_directories: false,
12 dependencies: libeStoraged_deps,
13)
14
15libeStoraged = declare_dependency(
16 dependencies: libeStoraged_deps,
17 include_directories: eStoraged_headers,
18 link_with: libeStoraged_lib)
19
20executable(
21 'eStoraged',
22 'main.cpp',
23 implicit_include_directories: false,
24 dependencies: libeStoraged,
25 install: true,
26 install_dir: get_option('bindir')
27)