blob: 27fe26ae41f42601f852102c9f12765bd8eb19c8 [file] [log] [blame]
Matt Spinlerebf69892024-05-17 14:56:16 -05001librbmc_sources = files(
2 'manager.cpp',
3 'role_determination.cpp',
4)
5
6librbmc_deps = [
7 sdbusplus,
8 phosphordbusinterfaces,
9 phosphorlogging,
10]
11
12librbmc_lib = static_library(
13 'rbmc',
14 librbmc_sources,
15 dependencies: [
16 librbmc_deps
17 ]
18)
19
20librbmc_dep = declare_dependency(
21 include_directories: include_directories('.'),
22 link_with: librbmc_lib,
23 dependencies: [
24 sdbusplus,
25 phosphordbusinterfaces,
26 phosphorlogging,
27 ]
28)
29
30executable('phosphor-rbmc-state-manager',
31 'rbmc_state_manager_main.cpp',
32 dependencies: [
33 librbmc_dep
34 ],
35 install: true
36)
37
38if get_option('tests').allowed()
39 subdir('test')
40endif