blob: 75ab69a4e489dcb60599403177640b36f13a237e [file] [log] [blame]
Lei YU01539e72019-07-31 10:57:38 +08001configure_file(output: 'config.h',
2 configuration: cdata,
3)
Lei YU5e0dcb32019-08-02 18:04:34 +08004psu_inc = include_directories('.')
Lei YU01539e72019-07-31 10:57:38 +08005
Lei YUe065f612019-07-30 14:10:52 +08006executable(
7 'phosphor-psu-code-manager',
8 'activation.cpp',
Lei YU01539e72019-07-31 10:57:38 +08009 'item_updater.cpp',
Lei YUe065f612019-07-30 14:10:52 +080010 'main.cpp',
Lei YU01539e72019-07-31 10:57:38 +080011 'version.cpp',
Lei YU5e0dcb32019-08-02 18:04:34 +080012 'utils.cpp',
13 include_directories: psu_inc,
Lei YUe065f612019-07-30 14:10:52 +080014 dependencies: [
15 phosphor_logging,
16 phosphor_dbus_interfaces,
17 sdbusplus,
Lei YUad90ad52019-08-06 11:19:28 +080018 ssl,
Lei YUe065f612019-07-30 14:10:52 +080019 ],
20 install: true,
21 install_dir: get_option('bindir'))