blob: 8218a15bc9bea0c58a14c1bb220b86449ee3934b [file] [log] [blame]
Brad Bishopb4459912019-11-05 19:39:11 -05001cpp_args = boost_args + ['-DPACKAGE_DIR="' + packagedir + '/"']
2
3executable(
4 'entity-manager',
5 'EntityManager.cpp',
6 'Overlay.cpp',
7 'Utils.cpp',
8 cpp_args: cpp_args + ['-DBOOST_ASIO_DISABLE_THREADS'],
9 dependencies: [
10 boost,
Brad Bishop79a09a82020-01-15 12:23:07 -050011 nlohmann_json,
Brad Bishopb4459912019-11-05 19:39:11 -050012 sdbusplus,
13 ],
14 implicit_include_directories: false,
15 include_directories: '../include',
16 install: true,
17)
18
19executable(
20 'fru-device',
21 'FruDevice.cpp',
22 'Utils.cpp',
23 cpp_args: cpp_args,
24 dependencies: [
25 boost,
26 i2c,
Brad Bishop79a09a82020-01-15 12:23:07 -050027 nlohmann_json,
Brad Bishopb4459912019-11-05 19:39:11 -050028 sdbusplus,
29 threads,
30 ],
31 implicit_include_directories: false,
32 include_directories: '../include',
33 install: true,
34)