blob: d9e8a37fcd335e7b9d68411a78bcc374931c0afd [file] [log] [blame]
Lei YU0bf1b782019-08-29 16:02:30 +08001psutils = executable(
2 'psutils',
Lei YU0bf1b782019-08-29 16:02:30 +08003 'version.cpp',
Lei YUd19df252019-10-25 17:31:52 +08004 'updater.cpp',
Lei YU0bf1b782019-08-29 16:02:30 +08005 'main.cpp',
6 dependencies: [
Patrick Williams888bebd2023-05-31 19:19:49 -05007 cli11_dep,
8 libi2c_dep,
9 nlohmann_json_dep,
Lei YU0bf1b782019-08-29 16:02:30 +080010 phosphor_dbus_interfaces,
11 phosphor_logging,
12 ],
Lei YU7c2fbbb2019-11-06 14:56:02 +080013 include_directories: [libpower_inc, libi2c_inc],
Lei YU0bf1b782019-08-29 16:02:30 +080014 install: true,
15 link_with: [
16 libpower,
17 ]
18)
Lei YU093b5912019-10-22 15:28:51 +080019
Shawn McCarneyff481432020-02-13 10:38:44 -060020if get_option('tests').enabled()
21 subdir('test')
22endif